﻿<?xml version="1.0" encoding="utf-8" ?>
<Galaxy>
    <Variable Name="c_alignLeft" Type="int" Value="0">
         <![CDATA[const int c_alignLeft   = 0;]]>
    </Variable>
    <Variable Name="c_alignTop" Type="int" Value="0">
         <![CDATA[const int c_alignTop	= 0;]]>
    </Variable>
    <Variable Name="c_alignRight" Type="int" Value="1">
         <![CDATA[const int c_alignRight  = 1;]]>
    </Variable>
    <Variable Name="c_alignBottom" Type="int" Value="1">
         <![CDATA[const int c_alignBottom = 1;]]>
    </Variable>
    <Variable Name="c_alignCenter" Type="int" Value="2">
         <![CDATA[const int c_alignCenter = 2;]]>
    </Variable>
    <Variable Name="c_anchorTopLeft" Type="int" Value="0">
         <![CDATA[const int c_anchorTopLeft   	= 0;]]>
    </Variable>
    <Variable Name="c_anchorTop" Type="int" Value="1">
         <![CDATA[const int c_anchorTop       	= 1;]]>
    </Variable>
    <Variable Name="c_anchorTopRight" Type="int" Value="2">
         <![CDATA[const int c_anchorTopRight  	= 2;]]>
    </Variable>
    <Variable Name="c_anchorLeft" Type="int" Value="3">
         <![CDATA[const int c_anchorLeft      	= 3;]]>
    </Variable>
    <Variable Name="c_anchorCenter" Type="int" Value="4">
         <![CDATA[const int c_anchorCenter    	= 4;]]>
    </Variable>
    <Variable Name="c_anchorRight" Type="int" Value="5">
         <![CDATA[const int c_anchorRight     	= 5;]]>
    </Variable>
    <Variable Name="c_anchorBottomLeft" Type="int" Value="6">
         <![CDATA[const int c_anchorBottomLeft	= 6;]]>
    </Variable>
    <Variable Name="c_anchorBottom" Type="int" Value="7">
         <![CDATA[const int c_anchorBottom    	= 7;]]>
    </Variable>
    <Variable Name="c_anchorBottomRight" Type="int" Value="8">
         <![CDATA[const int c_anchorBottomRight   = 8;]]>
    </Variable>
    <Native Name="AchievementPanelSetVisible" ReturnType="void" ArgumentList="playergroup players, bool visible">
         <![CDATA[native void AchievementPanelSetVisible (playergroup players, bool visible);]]>
    </Native>
    <Native Name="AchievementsDisable" ReturnType="void" ArgumentList="int player">
         <![CDATA[native void AchievementsDisable (int player);]]>
    </Native>
    <Native Name="ActorScopeCreate" ReturnType="actorscope" ArgumentList="string name">
         <![CDATA[native actorscope   ActorScopeCreate (string name);]]>
    </Native>
    <Native Name="ActorScopeFrom" ReturnType="actorscope" ArgumentList="string name">
         <![CDATA[native actorscope   ActorScopeFrom (string name);]]>
    </Native>
    <Native Name="ActorScopeFromActor" ReturnType="actorscope" ArgumentList="actor a">
         <![CDATA[native actorscope   ActorScopeFromActor (actor a);]]>
    </Native>
    <Native Name="ActorScopeFromUnit" ReturnType="actorscope" ArgumentList="unit u">
         <![CDATA[native actorscope   ActorScopeFromUnit (unit u);]]>
    </Native>
    <Native Name="ActorScopeFromPortrait" ReturnType="actorscope" ArgumentList="int p">
         <![CDATA[native actorscope   ActorScopeFromPortrait (int p);]]>
    </Native>
    <Native Name="ActorScopeGetText" ReturnType="text" ArgumentList="actorscope as">
         <![CDATA[native text     	ActorScopeGetText (actorscope as);]]>
    </Native>
    <Native Name="ActorScopeKill" ReturnType="void" ArgumentList="actorscope as">
         <![CDATA[native void     	ActorScopeKill (actorscope as);]]>
    </Native>
    <Native Name="ActorScopeOrphan" ReturnType="void" ArgumentList="actorscope as">
         <![CDATA[native void     	ActorScopeOrphan (actorscope as);]]>
    </Native>
    <Native Name="ActorScopeRefGet" ReturnType="actor" ArgumentList="actorscope as, string refName">
         <![CDATA[native actor    	ActorScopeRefGet (actorscope as, string refName);]]>
    </Native>
    <Native Name="ActorScopeRefSet" ReturnType="void" ArgumentList="actorscope as, string refName, actor aValue">
         <![CDATA[native void     	ActorScopeRefSet (actorscope as, string refName, actor aValue);]]>
    </Native>
    <Native Name="ActorScopeSend" ReturnType="void" ArgumentList="actorscope as, string msg">
         <![CDATA[native void     	ActorScopeSend (actorscope as, string msg);]]>
    </Native>
    <Native Name="ActorCreate" ReturnType="actor" ArgumentList="actorscope as, string actorName, string content1Name, string content2Name, string content3Name">
         <![CDATA[native actor    	ActorCreate (actorscope as, string actorName, string content1Name, string content2Name, string content3Name);]]>
    </Native>
    <Native Name="ActorFrom" ReturnType="actor" ArgumentList="string name">
         <![CDATA[native actor    	ActorFrom (string name);]]>
    </Native>
    <Native Name="ActorFromActor" ReturnType="actor" ArgumentList="actor a, string name">
         <![CDATA[native actor    	ActorFromActor (actor a, string name);]]>
    </Native>
    <Native Name="ActorFromScope" ReturnType="actor" ArgumentList="actorscope as, string name">
         <![CDATA[native actor    	ActorFromScope (actorscope as, string name);]]>
    </Native>
    <Native Name="ActorFromDoodad" ReturnType="actor" ArgumentList="doodad d">
         <![CDATA[native actor    	ActorFromDoodad (doodad d);]]>
    </Native>
    <Native Name="ActorFromPortrait" ReturnType="actor" ArgumentList="int p">
         <![CDATA[native actor    	ActorFromPortrait (int p);]]>
    </Native>
    <Native Name="ActorGetText" ReturnType="text" ArgumentList="actor a">
         <![CDATA[native text     	ActorGetText (actor a);]]>
    </Native>
    <Native Name="ActorRefGet" ReturnType="actor" ArgumentList="actor a, string refName">
         <![CDATA[native actor    	ActorRefGet (actor a, string refName);]]>
    </Native>
    <Native Name="ActorRefSet" ReturnType="void" ArgumentList="actor a, string refName, actor aValue">
         <![CDATA[native void     	ActorRefSet (actor a, string refName, actor aValue);]]>
    </Native>
    <Native Name="ActorSend" ReturnType="void" ArgumentList="actor a, string msg">
         <![CDATA[native void     	ActorSend (actor a, string msg);]]>
    </Native>
    <Native Name="ActorSendTo" ReturnType="void" ArgumentList="actor a, string refName, string msg">
         <![CDATA[native void     	ActorSendTo (actor a, string refName, string msg);]]>
    </Native>
    <Native Name="ActorLookAtStart" ReturnType="void" ArgumentList="actor s, string lookAt, int weight, fixed time, actor t">
         <![CDATA[native void     	ActorLookAtStart (actor s, string lookAt, int weight, fixed time, actor t);]]>
    </Native>
    <Native Name="ActorLookAtStop" ReturnType="void" ArgumentList="actor s, string lookAt, int weight, fixed time">
         <![CDATA[native void     	ActorLookAtStop (actor s, string lookAt, int weight, fixed time);]]>
    </Native>
    <Native Name="ActorLookAtTypeStart" ReturnType="void" ArgumentList="actor s, string type, actor t">
         <![CDATA[native void     	ActorLookAtTypeStart (actor s, string type, actor t);]]>
    </Native>
    <Native Name="ActorLookAtTypeStop" ReturnType="void" ArgumentList="actor s, string type">
         <![CDATA[native void     	ActorLookAtTypeStop (actor s, string type);]]>
    </Native>
    <Native Name="ActorTextureGroupApplyGlobal" ReturnType="void" ArgumentList="string textureProps">
         <![CDATA[native void     	ActorTextureGroupApplyGlobal (string textureProps);]]>
    </Native>
    <Native Name="ActorTextureGroupRemoveGlobal" ReturnType="void" ArgumentList="string textureProps">
         <![CDATA[native void     	ActorTextureGroupRemoveGlobal (string textureProps);]]>
    </Native>
    <Native Name="ActorWorldParticleFXDestroy" ReturnType="void" ArgumentList="">
         <![CDATA[native void     	ActorWorldParticleFXDestroy ();]]>
    </Native>
    <Native Name="ActorRegionCreate" ReturnType="actor" ArgumentList="actorscope as, string actorName, region r">
         <![CDATA[native actor    	ActorRegionCreate (actorscope as, string actorName, region r);]]>
    </Native>
    <Native Name="ActorRegionSend" ReturnType="void" ArgumentList="actor a, int intersect, string msg, string filters, string terms">
         <![CDATA[native void     	ActorRegionSend (actor a, int intersect, string msg, string filters, string terms);]]>
    </Native>
    <Variable Name="c_actorIntersectAgainstCenter" Type="int" Value="0">
         <![CDATA[const int c_actorIntersectAgainstCenter         	= 0;]]>
    </Variable>
    <Variable Name="c_actorIntersectAgainstRadiusContact" Type="int" Value="1">
         <![CDATA[const int c_actorIntersectAgainstRadiusContact  	= 1;]]>
    </Variable>
    <Variable Name="c_actorIntersectAgainstRadiusGame" Type="int" Value="2">
         <![CDATA[const int c_actorIntersectAgainstRadiusGame     	= 2;]]>
    </Variable>
    <Variable Name="c_actorIntersectAgainstRadiusVisual" Type="int" Value="3">
         <![CDATA[const int c_actorIntersectAgainstRadiusVisual   	= 3;]]>
    </Variable>
    <Variable Name="c_animTimeVariantAsAutomatic" Type="int" Value="0">
         <![CDATA[const int c_animTimeVariantAsAutomatic          	= 0;]]>
    </Variable>
    <Variable Name="c_animTimeVariantAsDuration" Type="int" Value="1">
         <![CDATA[const int c_animTimeVariantAsDuration           	= 1;]]>
    </Variable>
    <Variable Name="c_animTimeVariantAsTimeScale" Type="int" Value="2">
         <![CDATA[const int c_animTimeVariantAsTimeScale          	= 2;]]>
    </Variable>
    <Variable Name="c_animTransitionFlagInstant" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_animTransitionFlagInstant           	= (1 << 0);]]>
    </Variable>
    <Variable Name="c_animBracketStartFlagClosingFull" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_animBracketStartFlagClosingFull     	= (1 << 0);]]>
    </Variable>
    <Variable Name="c_animBracketStartFlagContentNonLooping" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int c_animBracketStartFlagContentNonLooping   = (1 << 1);]]>
    </Variable>
    <Variable Name="c_animBracketStartFlagContentPlayOnce" Type="int" Value="(1 &lt;&lt; 2)">
         <![CDATA[const int c_animBracketStartFlagContentPlayOnce 	= (1 << 2);]]>
    </Variable>
    <Variable Name="c_animBracketStartFlagOpeningPlayForever" Type="int" Value="(1 &lt;&lt; 3)">
         <![CDATA[const int c_animBracketStartFlagOpeningPlayForever  = (1 << 3);]]>
    </Variable>
    <Variable Name="c_animBracketStartFlagInstant" Type="int" Value="(1 &lt;&lt; 4)">
         <![CDATA[const int c_animBracketStartFlagInstant         	= (1 << 4);]]>
    </Variable>
    <Variable Name="c_animGroupApplyFlagClosingFull" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_animGroupApplyFlagClosingFull       	= (1 << 0);]]>
    </Variable>
    <Variable Name="c_animGroupApplyFlagInstant" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int c_animGroupApplyFlagInstant           	= (1 << 1);]]>
    </Variable>
    <Variable Name="c_animFlagFullMatch" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_animFlagFullMatch                   	= (1 << 0);]]>
    </Variable>
    <Variable Name="c_animFlagPlayForever" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int c_animFlagPlayForever                 	= (1 << 1);]]>
    </Variable>
    <Variable Name="c_animFlagNonLooping" Type="int" Value="(1 &lt;&lt; 2)">
         <![CDATA[const int c_animFlagNonLooping                  	= (1 << 2);]]>
    </Variable>
    <Variable Name="c_animFlagAssetDrivenLooping" Type="int" Value="(1 &lt;&lt; 3)">
         <![CDATA[const int c_animFlagAssetDrivenLooping          	= (1 << 3);]]>
    </Variable>
    <Variable Name="c_animFlagRandomStartOffset" Type="int" Value="(1 &lt;&lt; 4)">
         <![CDATA[const int c_animFlagRandomStartOffset           	= (1 << 4);]]>
    </Variable>
    <Variable Name="e_actorRefFlagGroup" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int e_actorRefFlagGroup                   	= (1 << 1);]]>
    </Variable>
    <Variable Name="c_actorRefSpaceGlobal" Type="int" Value="1">
         <![CDATA[const int c_actorRefSpaceGlobal                 	= 1;]]>
    </Variable>
    <Variable Name="c_actorRefSpaceScope" Type="int" Value="2">
         <![CDATA[const int c_actorRefSpaceScope                  	= 2;]]>
    </Variable>
    <Variable Name="c_actorRefSpaceActor" Type="int" Value="3">
         <![CDATA[const int c_actorRefSpaceActor                  	= 3;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeImplicit" Type="int" Value="0">
         <![CDATA[const int c_actorRequestScopeImplicit           	= 0;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeCaster" Type="int" Value="1">
         <![CDATA[const int c_actorRequestScopeCaster             	= 1;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeEffect" Type="int" Value="2">
         <![CDATA[const int c_actorRequestScopeEffect             	= 2;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeMissile" Type="int" Value="3">
         <![CDATA[const int c_actorRequestScopeMissile            	= 3;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeOuter" Type="int" Value="4">
         <![CDATA[const int c_actorRequestScopeOuter              	= 4;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeSource" Type="int" Value="5">
         <![CDATA[const int c_actorRequestScopeSource             	= 5;]]>
    </Variable>
    <Variable Name="c_actorRequestScopeTarget" Type="int" Value="6">
         <![CDATA[const int c_actorRequestScopeTarget             	= 6;]]>
    </Variable>
    <Variable Name="c_actorRequestActorImplicit" Type="int" Value="0">
         <![CDATA[const int c_actorRequestActorImplicit           	= 0;]]>
    </Variable>
    <Variable Name="c_actorRequestActorCreate" Type="int" Value="1">
         <![CDATA[const int c_actorRequestActorCreate             	= 1;]]>
    </Variable>
    <Variable Name="c_actorRequestActorFind" Type="int" Value="2">
         <![CDATA[const int c_actorRequestActorFind               	= 2;]]>
    </Variable>
    <Variable Name="c_textureVideoPlayFlagLooping" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_textureVideoPlayFlagLooping         	= (1 << 0);]]>
    </Variable>
    <Variable Name="c_textureVideoPlayFlagSynced" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int c_textureVideoPlayFlagSynced          	= (1 << 1);]]>
    </Variable>
    <Variable Name="c_physicsDisabled" Type="int" Value="0">
         <![CDATA[const int c_physicsDisabled                     	= 0;]]>
    </Variable>
    <Variable Name="e_physicsKeyframed" Type="int" Value="1">
         <![CDATA[const int e_physicsKeyframed                    	= 1;]]>
    </Variable>
    <Variable Name="e_physicsSimulated" Type="int" Value="2">
         <![CDATA[const int e_physicsSimulated                    	= 2;]]>
    </Variable>
    <Variable Name="c_actorTransitionIn" Type="int" Value="0">
         <![CDATA[const int c_actorTransitionIn                   	= 0;]]>
    </Variable>
    <Variable Name="c_actorTransitionOut" Type="int" Value="1">
         <![CDATA[const int c_actorTransitionOut                  	= 1;]]>
    </Variable>
    <Variable Name="c_textureSlotComponentDefault" Type="int" Value="0">
         <![CDATA[const int c_textureSlotComponentDefault         	= 0;]]>
    </Variable>
    <Variable Name="c_textureSlotComponentDiffuse" Type="int" Value="1">
         <![CDATA[const int c_textureSlotComponentDiffuse         	= 1;]]>
    </Variable>
    <Variable Name="c_textureSlotComponentEmissive" Type="int" Value="2">
         <![CDATA[const int c_textureSlotComponentEmissive        	= 2;]]>
    </Variable>
    <Variable Name="c_textureSlotComponentNormal" Type="int" Value="3">
         <![CDATA[const int c_textureSlotComponentNormal          	= 3;]]>
    </Variable>
    <Variable Name="c_textureSlotComponentSpecular" Type="int" Value="4">
         <![CDATA[const int c_textureSlotComponentSpecular        	= 4;]]>
    </Variable>
    <Native Name="MakeMsgAnimBracketResume" ReturnType="string" ArgumentList="string animName, int animTransitionFlags, fixed timeVariant, int timeType">
         <![CDATA[native string   	MakeMsgAnimBracketResume (
                    	string animName,
                    	int animTransitionFlags,
                    	fixed timeVariant,
                    	int timeType
                	);]]>
    </Native>
    <Native Name="MakeMsgAnimBracketStart" ReturnType="string" ArgumentList="string animName, string propsOpening, string propsContent, string propsClosing, int animBracketStartFlags, fixed timeVariant, int timeType">
         <![CDATA[native string   	MakeMsgAnimBracketStart (
                    	string animName,
                    	string propsOpening,
                    	string propsContent,
                    	string propsClosing,
                    	int animBracketStartFlags,
                    	fixed timeVariant,
                    	int timeType
                	);]]>
    </Native>
    <Native Name="MakeMsgAnimBracketStop" ReturnType="string" ArgumentList="string animName, int animTransitionFlags, fixed timeVariant, int timeType">
         <![CDATA[native string   	MakeMsgAnimBracketStop (
                    	string animName,
                    	int animTransitionFlags,
                    	fixed timeVariant,
                    	int timeType
                	);]]>
    </Native>
    <Native Name="MakeMsgAnimGroupApply" ReturnType="string" ArgumentList="string animGroup, string atApply, string atRemove, int animGroupApplyFlags, fixed timeVariant, int timeType">
         <![CDATA[native string   	MakeMsgAnimGroupApply (
                    	string animGroup,
                    	string atApply,
                    	string atRemove,
                    	int animGroupApplyFlags,
                    	fixed timeVariant,
                    	int timeType
                	);]]>
    </Native>
    <Native Name="MakeMsgAnimGroupRemove" ReturnType="string" ArgumentList="string animGroup, int animTransitionFlags, fixed timeVariant, int timeType">
         <![CDATA[native string   	MakeMsgAnimGroupRemove (
                    	string animGroup,
                    	int animTransitionFlags,
                    	fixed timeVariant,
                    	int timeType
                	);]]>
    </Native>
    <Native Name="MakeMsgAnimPlay" ReturnType="string" ArgumentList="string animName, string animProps, int animFlags, fixed blendIn, fixed blendOut, fixed timeVariant, int timeType">
         <![CDATA[native string   	MakeMsgAnimPlay (
                    	string animName,
                    	string animProps,
                    	int animFlags,
                    	fixed blendIn,
                    	fixed blendOut,
                    	fixed timeVariant,
                    	int timeType
                	);]]>
    </Native>
    <Native Name="MakeMsgRefCreate" ReturnType="string" ArgumentList="string refName">
         <![CDATA[native string   	MakeMsgRefCreate (string refName);]]>
    </Native>
    <Native Name="MakeMsgRefSetFromRequest" ReturnType="string" ArgumentList="string refName, string subject, string effectName, int requestScope, int requestActor">
         <![CDATA[native string   	MakeMsgRefSetFromRequest (
                    	string refName,
                    	string subject,
                    	string effectName,
                    	int requestScope,
                    	int requestActor
                	);]]>
    </Native>
    <Native Name="MakeMsgRefTableDump" ReturnType="string" ArgumentList="int space">
         <![CDATA[native string   	MakeMsgRefTableDump (int space);]]>
    </Native>
    <Native Name="MakeMsgSetPhysicsState" ReturnType="string" ArgumentList="int physicsState, fixed delayLow, fixed delayHigh">
         <![CDATA[native string   	MakeMsgSetPhysicsState (int physicsState, fixed delayLow, fixed delayHigh);]]>
    </Native>
    <Native Name="MakeMsgTextureSelectByMatch" ReturnType="string" ArgumentList="string slotName, int slotComponent, string sourceSlotName, int sourceSlotComponent">
         <![CDATA[native string   	MakeMsgTextureSelectByMatch (
                    	string slotName,
                    	int slotComponent,
                    	string sourceSlotName,
                    	int sourceSlotComponent
                	);]]>
    </Native>
    <Native Name="MakeMsgTextureSelectBySlot" ReturnType="string" ArgumentList="string slotName, int slotComponent, string textureExpression">
         <![CDATA[native string   	MakeMsgTextureSelectBySlot (
                    	string slotName,
                    	int slotComponent,
                    	string textureExpression
                	);]]>
    </Native>
    <Native Name="MakeMsgTextureVideoPlay" ReturnType="string" ArgumentList="string slotName, int slotComponent, int fps, int textureVideoPlayFlags, int videoSoundType, string attachQuery">
         <![CDATA[native string   	MakeMsgTextureVideoPlay (
                    	string slotName,
                     	int slotComponent,
                     	int fps,
                     	int textureVideoPlayFlags,
                     	int videoSoundType,
                     	string attachQuery
                	);]]>
    </Native>
    <Native Name="MakeMsgTextureVideoStop" ReturnType="string" ArgumentList="string slotName, int slotComponent">
         <![CDATA[native string   	MakeMsgTextureVideoStop (string slotName, int slotComponent);]]>
    </Native>
    <Native Name="MakeMsgTextureVideoSetFrame" ReturnType="string" ArgumentList="string slotName, int slotComponent, int frame">
         <![CDATA[native string   	MakeMsgTextureVideoSetFrame (string slotName, int slotComponent, int frame);]]>
    </Native>
    <Native Name="MakeMsgTextureVideoSetPaused" ReturnType="string" ArgumentList="string slotName, int slotComponent, bool isPaused">
         <![CDATA[native string   	MakeMsgTextureVideoSetPaused (string slotName, int slotComponent, bool isPaused);]]>
    </Native>
    <Native Name="MakeMsgTextureVideoSetTime" ReturnType="string" ArgumentList="string slotName, int slotComponent, fixed time">
         <![CDATA[native string   	MakeMsgTextureVideoSetTime (string slotName, int slotComponent, fixed time);]]>
    </Native>
    <Native Name="MakeMsgTransition" ReturnType="string" ArgumentList="int transitionType, fixed durationBase, fixed durationRange">
         <![CDATA[native string   	MakeMsgTransition (int transitionType, fixed durationBase, fixed durationRange);]]>
    </Native>
    <Native Name="TextureGetSlotName" ReturnType="string" ArgumentList="string textureLink">
         <![CDATA[native string   	TextureGetSlotName (string textureLink);]]>
    </Native>
    <Native Name="TextureGetSlotComponent" ReturnType="int" ArgumentList="string textureLink">
         <![CDATA[native int      	TextureGetSlotComponent (string textureLink);]]>
    </Native>
    <Native Name="DoodadFromId" ReturnType="doodad" ArgumentList="int id">
         <![CDATA[native doodad   	DoodadFromId (int id);]]>
    </Native>
    <Variable Name="c_animTimeDefault" Type="fixed" Value="-1">
         <![CDATA[const fixed c_animTimeDefault       	= -1;]]>
    </Variable>
    <Variable Name="c_animNameDefault" Type="string" Value="&quot;Default&quot;">
         <![CDATA[const string c_animNameDefault      	= "Default";]]>
    </Variable>
    <Native Name="ModelAnimationLoad" ReturnType="void" ArgumentList="string modelPath, string animPath">
         <![CDATA[native void 	ModelAnimationLoad (string modelPath, string animPath);]]>
    </Native>
    <Native Name="ModelAnimationUnload" ReturnType="void" ArgumentList="string modelPath, string animPath">
         <![CDATA[native void 	ModelAnimationUnload (string modelPath, string animPath);]]>
    </Native>
    <Variable Name="c_bankTypeFixed" Type="int" Value="0">
         <![CDATA[const int c_bankTypeFixed   = 0;]]>
    </Variable>
    <Variable Name="c_bankTypeFlag" Type="int" Value="1">
         <![CDATA[const int c_bankTypeFlag	= 1;]]>
    </Variable>
    <Variable Name="c_bankTypeInt" Type="int" Value="2">
         <![CDATA[const int c_bankTypeInt 	= 2;]]>
    </Variable>
    <Variable Name="c_bankTypeString" Type="int" Value="3">
         <![CDATA[const int c_bankTypeString  = 3;]]>
    </Variable>
    <Variable Name="c_bankTypeUnit" Type="int" Value="4">
         <![CDATA[const int c_bankTypeUnit	= 4;]]>
    </Variable>
    <Variable Name="c_bankTypePoint" Type="int" Value="5">
         <![CDATA[const int c_bankTypePoint   = 5;]]>
    </Variable>
    <Variable Name="c_bankTypeText" Type="int" Value="6">
         <![CDATA[const int c_bankTypeText	= 6;]]>
    </Variable>
    <Native Name="BankExists" ReturnType="bool" ArgumentList="string name, int player">
         <![CDATA[native bool 	BankExists (string name, int player);]]>
    </Native>
    <Native Name="BankLastCreated" ReturnType="bank" ArgumentList="">
         <![CDATA[native bank 	BankLastCreated ();]]>
    </Native>
    <Native Name="BankLoad" ReturnType="bank" ArgumentList="string name, int player">
         <![CDATA[native bank 	BankLoad (string name, int player);]]>
    </Native>
    <Native Name="BankName" ReturnType="string" ArgumentList="bank b">
         <![CDATA[native string   BankName (bank b);]]>
    </Native>
    <Native Name="BankPlayer" ReturnType="int" ArgumentList="bank b">
         <![CDATA[native int  	BankPlayer (bank b);]]>
    </Native>
    <Native Name="BankRemove" ReturnType="void" ArgumentList="bank b">
         <![CDATA[native void 	BankRemove (bank b);]]>
    </Native>
    <Native Name="BankSave" ReturnType="void" ArgumentList="bank b">
         <![CDATA[native void 	BankSave (bank b);]]>
    </Native>
    <Native Name="BankSectionCount" ReturnType="int" ArgumentList="bank b">
         <![CDATA[native int  	BankSectionCount (bank b);]]>
    </Native>
    <Native Name="BankSectionExists" ReturnType="bool" ArgumentList="bank b, string section">
         <![CDATA[native bool 	BankSectionExists (bank b, string section);]]>
    </Native>
    <Native Name="BankSectionName" ReturnType="string" ArgumentList="bank b, int index">
         <![CDATA[native string   BankSectionName (bank b, int index);]]>
    </Native>
    <Native Name="BankSectionRemove" ReturnType="void" ArgumentList="bank b, string section">
         <![CDATA[native void 	BankSectionRemove (bank b, string section);]]>
    </Native>
    <Native Name="BankKeyCount" ReturnType="int" ArgumentList="bank b, string section">
         <![CDATA[native int  	BankKeyCount (bank b, string section);]]>
    </Native>
    <Native Name="BankKeyExists" ReturnType="bool" ArgumentList="bank b, string section, string key">
         <![CDATA[native bool 	BankKeyExists (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankKeyName" ReturnType="string" ArgumentList="bank b, string section, int index">
         <![CDATA[native string   BankKeyName (bank b, string section, int index);]]>
    </Native>
    <Native Name="BankKeyRemove" ReturnType="void" ArgumentList="bank b, string section, string key">
         <![CDATA[native void 	BankKeyRemove (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueIsType" ReturnType="bool" ArgumentList="bank b, string section, string key, int type">
         <![CDATA[native bool 	BankValueIsType (bank b, string section, string key, int type);]]>
    </Native>
    <Native Name="BankValueGetAsFixed" ReturnType="fixed" ArgumentList="bank b, string section, string key">
         <![CDATA[native fixed	BankValueGetAsFixed (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueSetFromFixed" ReturnType="void" ArgumentList="bank b, string section, string key, fixed value">
         <![CDATA[native void 	BankValueSetFromFixed (bank b, string section, string key, fixed value);]]>
    </Native>
    <Native Name="BankValueGetAsFlag" ReturnType="bool" ArgumentList="bank b, string section, string key">
         <![CDATA[native bool 	BankValueGetAsFlag (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueSetFromFlag" ReturnType="void" ArgumentList="bank b, string section, string key, bool value">
         <![CDATA[native void 	BankValueSetFromFlag (bank b, string section, string key, bool value);]]>
    </Native>
    <Native Name="BankValueGetAsInt" ReturnType="int" ArgumentList="bank b, string section, string key">
         <![CDATA[native int  	BankValueGetAsInt (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueSetFromInt" ReturnType="void" ArgumentList="bank b, string section, string key, int value">
         <![CDATA[native void 	BankValueSetFromInt (bank b, string section, string key, int value);]]>
    </Native>
    <Native Name="BankValueGetAsPoint" ReturnType="point" ArgumentList="bank b, string section, string key">
         <![CDATA[native point	BankValueGetAsPoint (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueSetFromPoint" ReturnType="void" ArgumentList="bank b, string section, string key, point value">
         <![CDATA[native void 	BankValueSetFromPoint (bank b, string section, string key, point value);]]>
    </Native>
    <Native Name="BankValueGetAsString" ReturnType="string" ArgumentList="bank b, string section, string key">
         <![CDATA[native string   BankValueGetAsString (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueSetFromString" ReturnType="void" ArgumentList="bank b, string section, string key, string value">
         <![CDATA[native void 	BankValueSetFromString (bank b, string section, string key, string value);]]>
    </Native>
    <Native Name="BankValueGetAsText" ReturnType="text" ArgumentList="bank b, string section, string key">
         <![CDATA[native text 	BankValueGetAsText (bank b, string section, string key);]]>
    </Native>
    <Native Name="BankValueSetFromText" ReturnType="void" ArgumentList="bank b, string section, string key, text value">
         <![CDATA[native void 	BankValueSetFromText (bank b, string section, string key, text value);]]>
    </Native>
    <Native Name="BankLastRestoredUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit 	BankLastRestoredUnit ();]]>
    </Native>
    <Native Name="BankValueGetAsUnit" ReturnType="unit" ArgumentList="bank b, string section, string key, int player, point p, fixed facing">
         <![CDATA[native unit 	BankValueGetAsUnit (bank b, string section, string key, int player, point p, fixed facing);]]>
    </Native>
    <Native Name="BankValueSetFromUnit" ReturnType="void" ArgumentList="bank b, string section, string key, unit value">
         <![CDATA[native void 	BankValueSetFromUnit (bank b, string section, string key, unit value);]]>
    </Native>
    <Variable Name="c_invalidBattleReportId" Type="int" Value="0">
         <![CDATA[const int c_invalidBattleReportId		= 0;]]>
    </Variable>
    <Variable Name="c_battleReportStateNormal" Type="int" Value="0">
         <![CDATA[const int c_battleReportStateNormal 	= 0;]]>
    </Variable>
    <Variable Name="c_battleReportStateCompleted" Type="int" Value="1">
         <![CDATA[const int c_battleReportStateCompleted  = 1;]]>
    </Variable>
    <Variable Name="c_battleReportStateHidden" Type="int" Value="2">
         <![CDATA[const int c_battleReportStateHidden 	= 2;]]>
    </Variable>
    <Variable Name="c_battleReportTypeMission" Type="int" Value="0">
         <![CDATA[const int c_battleReportTypeMission 	= 0;]]>
    </Variable>
    <Variable Name="c_battleReportTypeScene" Type="int" Value="1">
         <![CDATA[const int c_battleReportTypeScene   	= 1;]]>
    </Variable>
    <Native Name="BattleReportPanelSetSelectedBattleReport" ReturnType="void" ArgumentList="playergroup players, int inBattleReport">
         <![CDATA[native void 	BattleReportPanelSetSelectedBattleReport (playergroup players, int inBattleReport);]]>
    </Native>
    <Native Name="BattleReportPanelGetSelectedBattleReport" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int  	BattleReportPanelGetSelectedBattleReport (int inPlayer);]]>
    </Native>
    <Native Name="BattleReportCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, text inText, int inType, int inState">
         <![CDATA[native int  	BattleReportCreate (playergroup inPlayerGroup, text inText, int inType, int inState);]]>
    </Native>
    <Native Name="BattleReportLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int  	BattleReportLastCreated ();]]>
    </Native>
    <Native Name="BattleReportDestroy" ReturnType="void" ArgumentList="int inBattleReportId">
         <![CDATA[native void 	BattleReportDestroy (int inBattleReportId);]]>
    </Native>
    <Native Name="BattleReportSetState" ReturnType="void" ArgumentList="int inBattleReportId, int inState">
         <![CDATA[native void 	BattleReportSetState (int inBattleReportId, int inState);]]>
    </Native>
    <Native Name="BattleReportSetPriority" ReturnType="void" ArgumentList="int inBattleReportId, int inPriority">
         <![CDATA[native void 	BattleReportSetPriority (int inBattleReportId, int inPriority);]]>
    </Native>
    <Native Name="BattleReportSetButtonText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetButtonText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetButtonImage" ReturnType="void" ArgumentList="int inBattleReportId, string inImage">
         <![CDATA[native void 	BattleReportSetButtonImage (int inBattleReportId, string inImage);]]>
    </Native>
    <Native Name="BattleReportSetMissionText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetMissionText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetResearchTitle" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetResearchTitle (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetResearchText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetResearchText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetBonusTitle" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetBonusTitle (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetBonusText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetBonusText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetWorldText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetWorldText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetObjectiveTitle" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetObjectiveTitle (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetObjectiveText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetObjectiveText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetAchievementTitle" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetAchievementTitle (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetBestTimeText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetBestTimeText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetMissionImage" ReturnType="void" ArgumentList="int inBattleReportId, string inImage">
         <![CDATA[native void 	BattleReportSetMissionImage (int inBattleReportId, string inImage);]]>
    </Native>
    <Native Name="BattleReportSetDifficultyLevelCompleted" ReturnType="void" ArgumentList="int inBattleReportId, int inDifficultyLevel, bool inCompleted">
         <![CDATA[native void 	BattleReportSetDifficultyLevelCompleted (int inBattleReportId, int inDifficultyLevel, bool inCompleted);]]>
    </Native>
    <Native Name="BattleReportSetDifficultyLevelBestTimeText" ReturnType="void" ArgumentList="int inBattleReportId, int inDifficultyLevel, text inText">
         <![CDATA[native void 	BattleReportSetDifficultyLevelBestTimeText (int inBattleReportId, int inDifficultyLevel, text inText);]]>
    </Native>
    <Native Name="BattleReportAddAchievement" ReturnType="void" ArgumentList="int inBattleReportId, string inAchievement">
         <![CDATA[native void 	BattleReportAddAchievement (int inBattleReportId, string inAchievement);]]>
    </Native>
    <Native Name="BattleReportSetSceneText" ReturnType="void" ArgumentList="int inBattleReportId, text inText">
         <![CDATA[native void 	BattleReportSetSceneText (int inBattleReportId, text inText);]]>
    </Native>
    <Native Name="BattleReportSetSceneImage" ReturnType="void" ArgumentList="int inBattleReportId, string inImage">
         <![CDATA[native void 	BattleReportSetSceneImage (int inBattleReportId, string inImage);]]>
    </Native>
    <Native Name="TriggerAddEventBattleReportPanelExit" ReturnType="void" ArgumentList="trigger t, int inPlayer">
         <![CDATA[native void 	TriggerAddEventBattleReportPanelExit (trigger t, int inPlayer);]]>
    </Native>
    <Native Name="TriggerAddEventBattleReportPanelPlayMission" ReturnType="void" ArgumentList="trigger t, int inPlayer">
         <![CDATA[native void 	TriggerAddEventBattleReportPanelPlayMission (trigger t, int inPlayer);]]>
    </Native>
    <Native Name="TriggerAddEventBattleReportPanelPlayScene" ReturnType="void" ArgumentList="trigger t, int inPlayer">
         <![CDATA[native void 	TriggerAddEventBattleReportPanelPlayScene (trigger t, int inPlayer);]]>
    </Native>
    <Native Name="TriggerAddEventBattleReportPanelSelectionChanged" ReturnType="void" ArgumentList="trigger t, int inPlayer">
         <![CDATA[native void 	TriggerAddEventBattleReportPanelSelectionChanged (trigger t, int inPlayer);]]>
    </Native>
    <Native Name="EventBattleReportPanelMissionSelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int  	EventBattleReportPanelMissionSelected ();]]>
    </Native>
    <Native Name="EventBattleReportPanelDifficultySelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int  	EventBattleReportPanelDifficultySelected ();]]>
    </Native>
    <Native Name="EventBattleReportPanelSceneSelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int  	EventBattleReportPanelSceneSelected ();]]>
    </Native>
    <Variable Name="c_boardNone" Type="int" Value="0">
         <![CDATA[const int c_boardNone = 0;]]>
    </Variable>
    <Native Name="BoardCreate" ReturnType="int" ArgumentList="int inCols, int inRows, text inName, color inColor">
         <![CDATA[native int      	BoardCreate (int inCols, int inRows, text inName, color inColor);]]>
    </Native>
    <Native Name="BoardLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int      	BoardLastCreated ();]]>
    </Native>
    <Native Name="BoardDestroy" ReturnType="void" ArgumentList="int inBoard">
         <![CDATA[native void     	BoardDestroy (int inBoard);]]>
    </Native>
    <Native Name="BoardShowAll" ReturnType="void" ArgumentList="bool inShow, playergroup inPlayers">
         <![CDATA[native void     	BoardShowAll (bool inShow, playergroup inPlayers);]]>
    </Native>
    <Variable Name="c_boardColorText" Type="int" Value="0">
         <![CDATA[const int c_boardColorText      	= 0;]]>
    </Variable>
    <Variable Name="c_boardColorBackground" Type="int" Value="1">
         <![CDATA[const int c_boardColorBackground	= 1;]]>
    </Variable>
    <Variable Name="c_boardIconPosLeft" Type="int" Value="0">
         <![CDATA[const int c_boardIconPosLeft    	= 0;]]>
    </Variable>
    <Variable Name="c_boardIconPosRight" Type="int" Value="1">
         <![CDATA[const int c_boardIconPosRight   	= 1;]]>
    </Variable>
    <Native Name="BoardTitleShow" ReturnType="void" ArgumentList="int inBoard, playergroup inPlayers, bool inShow">
         <![CDATA[native void     	BoardTitleShow (int inBoard, playergroup inPlayers, bool inShow);]]>
    </Native>
    <Native Name="BoardTitleSetText" ReturnType="void" ArgumentList="int inBoard, text inText">
         <![CDATA[native void     	BoardTitleSetText (int inBoard, text inText);]]>
    </Native>
    <Native Name="BoardTitleSetColor" ReturnType="void" ArgumentList="int inBoard, int inType, color inColor">
         <![CDATA[native void     	BoardTitleSetColor (int inBoard, int inType, color inColor);]]>
    </Native>
    <Native Name="BoardTitleSetIcon" ReturnType="void" ArgumentList="int inBoard, string inIcon">
         <![CDATA[native void     	BoardTitleSetIcon (int inBoard, string inIcon);]]>
    </Native>
    <Native Name="BoardTitleSetAlignment" ReturnType="void" ArgumentList="int inBoard, int inAlign, int inIconPos">
         <![CDATA[native void     	BoardTitleSetAlignment (int inBoard, int inAlign, int inIconPos);]]>
    </Native>
    <Native Name="BoardTitleSetClickable" ReturnType="void" ArgumentList="int inBoard, bool inClickable">
         <![CDATA[native void     	BoardTitleSetClickable (int inBoard, bool inClickable);]]>
    </Native>
    <Native Name="BoardSetName" ReturnType="void" ArgumentList="int inBoard, text inName, color inColor">
         <![CDATA[native void     	BoardSetName (int inBoard, text inName, color inColor);]]>
    </Native>
    <Variable Name="c_boardStateShowing" Type="int" Value="0">
         <![CDATA[const int c_boardStateShowing   	= 0;]]>
    </Variable>
    <Variable Name="c_boardStateShowTitle" Type="int" Value="1">
         <![CDATA[const int c_boardStateShowTitle 	= 1;]]>
    </Variable>
    <Variable Name="c_boardStateShowMinimize" Type="int" Value="2">
         <![CDATA[const int c_boardStateShowMinimize  = 2;]]>
    </Variable>
    <Variable Name="c_boardStateMinimized" Type="int" Value="3">
         <![CDATA[const int c_boardStateMinimized 	= 3;]]>
    </Variable>
    <Variable Name="c_boardStateShowHeader" Type="int" Value="4">
         <![CDATA[const int c_boardStateShowHeader	= 4;]]>
    </Variable>
    <Variable Name="c_boardStateSorted" Type="int" Value="5">
         <![CDATA[const int c_boardStateSorted    	= 5;]]>
    </Variable>
    <Native Name="BoardSetState" ReturnType="void" ArgumentList="int inBoard, playergroup inPlayers, int inState, bool inVal">
         <![CDATA[native void     	BoardSetState (int inBoard, playergroup inPlayers, int inState, bool inVal);]]>
    </Native>
    <Native Name="BoardMinimizeShow" ReturnType="void" ArgumentList="int inBoard, playergroup inPlayers, bool inShow">
         <![CDATA[native void     	BoardMinimizeShow (int inBoard, playergroup inPlayers, bool inShow);]]>
    </Native>
    <Native Name="BoardMinimizeEnable" ReturnType="void" ArgumentList="int inBoard, playergroup inPlayers, bool inEnable">
         <![CDATA[native void     	BoardMinimizeEnable (int inBoard, playergroup inPlayers, bool inEnable);]]>
    </Native>
    <Native Name="BoardMinimizeSetState" ReturnType="void" ArgumentList="int inBoard, playergroup inPlayers, bool inVal">
         <![CDATA[native void     	BoardMinimizeSetState (int inBoard, playergroup inPlayers, bool inVal);]]>
    </Native>
    <Native Name="BoardMinimizeSetColor" ReturnType="void" ArgumentList="int inBoard, color inColor">
         <![CDATA[native void     	BoardMinimizeSetColor (int inBoard, color inColor);]]>
    </Native>
    <Native Name="BoardSetColumnCount" ReturnType="void" ArgumentList="int inBoard, int inCols">
         <![CDATA[native void     	BoardSetColumnCount (int inBoard, int inCols);]]>
    </Native>
    <Native Name="BoardSetRowCount" ReturnType="void" ArgumentList="int inBoard, int inRows">
         <![CDATA[native void     	BoardSetRowCount (int inBoard, int inRows);]]>
    </Native>
    <Variable Name="c_boardWidthAuto" Type="fixed" Value="0">
         <![CDATA[const fixed c_boardWidthAuto	= 0;]]>
    </Variable>
    <Native Name="BoardSetColumnWidth" ReturnType="void" ArgumentList="int inBoard, int inCol, fixed inWidth">
         <![CDATA[native void     	BoardSetColumnWidth (int inBoard, int inCol, fixed inWidth);]]>
    </Native>
    <Native Name="BoardSetGroupCount" ReturnType="void" ArgumentList="int inBoard, int inGroups">
         <![CDATA[native void     	BoardSetGroupCount (int inBoard, int inGroups);]]>
    </Native>
    <Native Name="BoardRowSetGroup" ReturnType="void" ArgumentList="int inBoard, int inRow, int inGroup">
         <![CDATA[native void     	BoardRowSetGroup (int inBoard, int inRow, int inGroup);]]>
    </Native>
    <Variable Name="c_boardColGroups" Type="int" Value="-3">
         <![CDATA[const int c_boardColGroups  = -3;]]>
    </Variable>
    <Variable Name="c_boardItemAll" Type="int" Value="-2">
         <![CDATA[const int c_boardItemAll	= -2;]]>
    </Variable>
    <Variable Name="c_boardRowHeader" Type="int" Value="-1">
         <![CDATA[const int c_boardRowHeader  = -1;]]>
    </Variable>
    <Native Name="BoardItemSetText" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, text inText">
         <![CDATA[native void     	BoardItemSetText (int inBoard, int inCol, int inRow, text inText);]]>
    </Native>
    <Native Name="BoardItemSetTextColor" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, color inColor">
         <![CDATA[native void     	BoardItemSetTextColor (int inBoard, int inCol, int inRow, color inColor);]]>
    </Native>
    <Native Name="BoardItemSetBackgroundColor" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, color inColor">
         <![CDATA[native void     	BoardItemSetBackgroundColor (int inBoard, int inCol, int inRow, color inColor);]]>
    </Native>
    <Native Name="BoardItemSetIcon" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, string inIcon, bool inLeft">
         <![CDATA[native void     	BoardItemSetIcon (int inBoard, int inCol, int inRow, string inIcon, bool inLeft);]]>
    </Native>
    <Native Name="BoardItemSetAlignment" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, int inAlign">
         <![CDATA[native void     	BoardItemSetAlignment (int inBoard, int inCol, int inRow, int inAlign);]]>
    </Native>
    <Native Name="BoardItemSetFontSize" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, int inSize">
         <![CDATA[native void     	BoardItemSetFontSize (int inBoard, int inCol, int inRow, int inSize);]]>
    </Native>
    <Native Name="BoardItemSetSortValue" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, int inVal">
         <![CDATA[native void     	BoardItemSetSortValue (int inBoard, int inCol, int inRow, int inVal);]]>
    </Native>
    <Native Name="BoardItemSetProgressShow" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, bool inShow">
         <![CDATA[native void     	BoardItemSetProgressShow (int inBoard, int inCol, int inRow, bool inShow);]]>
    </Native>
    <Native Name="BoardItemSetProgressRange" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, fixed inMin, fixed inMax">
         <![CDATA[native void     	BoardItemSetProgressRange (int inBoard, int inCol, int inRow, fixed inMin, fixed inMax);]]>
    </Native>
    <Native Name="BoardItemSetProgressValue" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, fixed inVal">
         <![CDATA[native void     	BoardItemSetProgressValue (int inBoard, int inCol, int inRow, fixed inVal);]]>
    </Native>
    <Native Name="BoardItemSetProgressColor" ReturnType="void" ArgumentList="int inBoard, int inCol, int inRow, color inColor, int inStep">
         <![CDATA[native void     	BoardItemSetProgressColor (int inBoard, int inCol, int inRow, color inColor, int inStep);]]>
    </Native>
    <Native Name="BoardSort" ReturnType="void" ArgumentList="int inBoard, int inCol, bool inAscending, int inPriority">
         <![CDATA[native void     	BoardSort (int inBoard, int inCol, bool inAscending, int inPriority);]]>
    </Native>
    <Native Name="BoardSetPlayerColumn" ReturnType="void" ArgumentList="int inBoard, int inCol, bool inGroupByTeams">
         <![CDATA[native void     	BoardSetPlayerColumn (int inBoard, int inCol, bool inGroupByTeams);]]>
    </Native>
    <Native Name="BoardPlayerAdd" ReturnType="void" ArgumentList="int inBoard, int inPlayer">
         <![CDATA[native void     	BoardPlayerAdd (int inBoard, int inPlayer);]]>
    </Native>
    <Native Name="BoardPlayerRemove" ReturnType="void" ArgumentList="int inBoard, int inPlayer">
         <![CDATA[native void     	BoardPlayerRemove (int inBoard, int inPlayer);]]>
    </Native>
    <Variable Name="c_cameraValueFieldOfView" Type="int" Value="0">
         <![CDATA[const int c_cameraValueFieldOfView  	= 0;]]>
    </Variable>
    <Variable Name="c_cameraValueNearClip" Type="int" Value="1">
         <![CDATA[const int c_cameraValueNearClip     	= 1;]]>
    </Variable>
    <Variable Name="c_cameraValueFarClip" Type="int" Value="2">
         <![CDATA[const int c_cameraValueFarClip      	= 2;]]>
    </Variable>
    <Variable Name="c_cameraValueShadowClip" Type="int" Value="3">
         <![CDATA[const int c_cameraValueShadowClip   	= 3;]]>
    </Variable>
    <Variable Name="c_cameraValueDistance" Type="int" Value="4">
         <![CDATA[const int c_cameraValueDistance     	= 4;]]>
    </Variable>
    <Variable Name="c_cameraValuePitch" Type="int" Value="5">
         <![CDATA[const int c_cameraValuePitch        	= 5;]]>
    </Variable>
    <Variable Name="c_cameraValueYaw" Type="int" Value="6">
         <![CDATA[const int c_cameraValueYaw          	= 6;]]>
    </Variable>
    <Variable Name="c_cameraValueRoll" Type="int" Value="7">
         <![CDATA[const int c_cameraValueRoll         	= 7;]]>
    </Variable>
    <Variable Name="c_cameraValueHeightOffset" Type="int" Value="8">
         <![CDATA[const int c_cameraValueHeightOffset 	= 8;]]>
    </Variable>
    <Variable Name="c_cameraValueDepthOfField" Type="int" Value="9">
         <![CDATA[const int c_cameraValueDepthOfField 	= 9;]]>
    </Variable>
    <Variable Name="c_cameraValueFocalDepth" Type="int" Value="10">
         <![CDATA[const int c_cameraValueFocalDepth   	= 10;]]>
    </Variable>
    <Variable Name="c_cameraValueFalloffStart" Type="int" Value="11">
         <![CDATA[const int c_cameraValueFalloffStart 	= 11;]]>
    </Variable>
    <Variable Name="c_cameraValueFalloffEnd" Type="int" Value="12">
         <![CDATA[const int c_cameraValueFalloffEnd   	= 12;]]>
    </Variable>
    <Variable Name="c_cameraPositionEye" Type="int" Value="0">
         <![CDATA[const int c_cameraPositionEye       	= 0;]]>
    </Variable>
    <Variable Name="c_cameraPositionTarget" Type="int" Value="1">
         <![CDATA[const int c_cameraPositionTarget    	= 1;]]>
    </Variable>
    <Variable Name="c_cameraPositionBoth" Type="int" Value="2">
         <![CDATA[const int c_cameraPositionBoth      	= 2;]]>
    </Variable>
    <Variable Name="c_cameraDirectionX" Type="int" Value="0">
         <![CDATA[const int c_cameraDirectionX        	= 0;]]>
    </Variable>
    <Variable Name="c_cameraDirectionY" Type="int" Value="1">
         <![CDATA[const int c_cameraDirectionY        	= 1;]]>
    </Variable>
    <Variable Name="c_cameraDirectionZ" Type="int" Value="2">
         <![CDATA[const int c_cameraDirectionZ        	= 2;]]>
    </Variable>
    <Variable Name="c_cameraDirectionXY" Type="int" Value="3">
         <![CDATA[const int c_cameraDirectionXY       	= 3;]]>
    </Variable>
    <Variable Name="c_cameraDirectionXZ" Type="int" Value="4">
         <![CDATA[const int c_cameraDirectionXZ       	= 4;]]>
    </Variable>
    <Variable Name="c_cameraDirectionYZ" Type="int" Value="5">
         <![CDATA[const int c_cameraDirectionYZ       	= 5;]]>
    </Variable>
    <Variable Name="c_cameraDirectionXYZ" Type="int" Value="6">
         <![CDATA[const int c_cameraDirectionXYZ      	= 6;]]>
    </Variable>
    <Variable Name="c_cameraRotationPitch" Type="int" Value="0">
         <![CDATA[const int c_cameraRotationPitch     	= 0;]]>
    </Variable>
    <Variable Name="c_cameraRotationRoll" Type="int" Value="1">
         <![CDATA[const int c_cameraRotationRoll      	= 1;]]>
    </Variable>
    <Variable Name="c_cameraRotationYaw" Type="int" Value="2">
         <![CDATA[const int c_cameraRotationYaw       	= 2;]]>
    </Variable>
    <Native Name="CameraInfoDefault" ReturnType="camerainfo" ArgumentList="">
         <![CDATA[native camerainfo   CameraInfoDefault ();]]>
    </Native>
    <Native Name="CameraInfoFromId" ReturnType="camerainfo" ArgumentList="int id">
         <![CDATA[native camerainfo   CameraInfoFromId (int id);]]>
    </Native>
    <Native Name="CameraInfoSetValue" ReturnType="void" ArgumentList="camerainfo c, int type, fixed value">
         <![CDATA[native void     	CameraInfoSetValue (camerainfo c, int type, fixed value);]]>
    </Native>
    <Native Name="CameraInfoGetValue" ReturnType="fixed" ArgumentList="camerainfo c, int type">
         <![CDATA[native fixed    	CameraInfoGetValue (camerainfo c, int type);]]>
    </Native>
    <Native Name="CameraInfoSetTarget" ReturnType="void" ArgumentList="camerainfo c, point p">
         <![CDATA[native void     	CameraInfoSetTarget (camerainfo c, point p);]]>
    </Native>
    <Native Name="CameraInfoGetTarget" ReturnType="point" ArgumentList="camerainfo c">
         <![CDATA[native point    	CameraInfoGetTarget (camerainfo c);]]>
    </Native>
    <Native Name="CameraApplyInfo" ReturnType="void" ArgumentList="int player, camerainfo c, fixed duration, fixed velocity, fixed decelerate, bool useTarget">
         <![CDATA[native void     	CameraApplyInfo (int player, camerainfo c, fixed duration, fixed velocity, fixed decelerate, bool useTarget);]]>
    </Native>
    <Native Name="CameraPan" ReturnType="void" ArgumentList="int player, point p, fixed duration, fixed velocity, fixed decelerate, bool smart">
         <![CDATA[native void     	CameraPan (int player, point p, fixed duration, fixed velocity, fixed decelerate, bool smart);]]>
    </Native>
    <Native Name="CameraSetValue" ReturnType="void" ArgumentList="int player, int type, fixed value, fixed duration, fixed velocity, fixed decelerate">
         <![CDATA[native void     	CameraSetValue (int player, int type, fixed value, fixed duration, fixed velocity, fixed decelerate);]]>
    </Native>
    <Native Name="CameraUseModel" ReturnType="void" ArgumentList="int player, unit u, string name, fixed duration">
         <![CDATA[native void     	CameraUseModel (int player, unit u, string name, fixed duration);]]>
    </Native>
    <Native Name="CameraForceMouseRelative" ReturnType="void" ArgumentList="int player, bool value">
         <![CDATA[native void     	CameraForceMouseRelative (int player, bool value);]]>
    </Native>
    <Native Name="CameraLockInput" ReturnType="void" ArgumentList="int player, bool lock">
         <![CDATA[native void     	CameraLockInput (int player, bool lock);]]>
    </Native>
    <Native Name="CameraSetMouseRotates" ReturnType="void" ArgumentList="int player, bool value">
         <![CDATA[native void     	CameraSetMouseRotates (int player, bool value);]]>
    </Native>
    <Native Name="CameraSetMouseRotationSpeed" ReturnType="void" ArgumentList="int player, int direction, fixed value">
         <![CDATA[native void     	CameraSetMouseRotationSpeed (int player, int direction, fixed value);]]>
    </Native>
    <Native Name="CameraSetVerticalFieldOfView" ReturnType="void" ArgumentList="int player, bool value">
         <![CDATA[native void     	CameraSetVerticalFieldOfView (int player, bool value);]]>
    </Native>
    <Native Name="CameraUseHeightDisplacement" ReturnType="void" ArgumentList="int player, bool value">
         <![CDATA[native void     	CameraUseHeightDisplacement (int player, bool value);]]>
    </Native>
    <Native Name="CameraUseHeightSmoothing" ReturnType="void" ArgumentList="int player, bool value">
         <![CDATA[native void     	CameraUseHeightSmoothing (int player, bool value);]]>
    </Native>
    <Native Name="CameraSetChannel" ReturnType="void" ArgumentList="int player, unit cameraUnit, string cameraName, int channel, fixed aspectRatio">
         <![CDATA[native void     	CameraSetChannel (int player, unit cameraUnit, string cameraName, int channel, fixed aspectRatio);]]>
    </Native>
    <Native Name="CameraClearChannel" ReturnType="void" ArgumentList="int player, int channel">
         <![CDATA[native void     	CameraClearChannel (int player, int channel);]]>
    </Native>
    <Native Name="CameraSetChannelOnPortrait" ReturnType="void" ArgumentList="int player, camerainfo c, fixed aspectRatio, int portraitId, int channel">
         <![CDATA[native void     	CameraSetChannelOnPortrait (int player, camerainfo c, fixed aspectRatio, int portraitId, int channel);]]>
    </Native>
    <Native Name="CameraClearChannelOnPortrait" ReturnType="void" ArgumentList="int player, int portraitId, int channel">
         <![CDATA[native void     	CameraClearChannelOnPortrait (int player, int portraitId, int channel);]]>
    </Native>
    <Native Name="CameraShakeStart" ReturnType="void" ArgumentList="int player, int position, int direction, fixed amplitude, fixed frequency, fixed randomPercent, fixed duration">
         <![CDATA[native void     	CameraShakeStart (
                    	int player,
                    	int position,       	
                    	int direction,      	
                    	fixed amplitude,
                    	fixed frequency,
                    	fixed randomPercent,
                    	fixed duration
                	);]]>
    </Native>
    <Native Name="CameraShakeStop" ReturnType="void" ArgumentList="int player">
         <![CDATA[native void     	CameraShakeStop (int player);]]>
    </Native>
    <Native Name="CameraSave" ReturnType="void" ArgumentList="int player">
         <![CDATA[native void     	CameraSave (int player);]]>
    </Native>
    <Native Name="CameraRestore" ReturnType="void" ArgumentList="int player, fixed duration, fixed velocity, fixed decelerate">
         <![CDATA[native void     	CameraRestore (int player, fixed duration, fixed velocity, fixed decelerate);]]>
    </Native>
    <Native Name="CameraGetTarget" ReturnType="point" ArgumentList="int player">
         <![CDATA[native point    	CameraGetTarget (int player);]]>
    </Native>
    <Native Name="CameraGetPitch" ReturnType="fixed" ArgumentList="int player">
         <![CDATA[native fixed    	CameraGetPitch (int player);]]>
    </Native>
    <Native Name="CameraGetYaw" ReturnType="fixed" ArgumentList="int player">
         <![CDATA[native fixed    	CameraGetYaw (int player);]]>
    </Native>
    <Native Name="CameraSetBounds" ReturnType="void" ArgumentList="playergroup players, region bounds, bool includeMinimap">
         <![CDATA[native void     	CameraSetBounds (playergroup players, region bounds, bool includeMinimap);]]>
    </Native>
    <Native Name="CameraFollowUnitGroup" ReturnType="void" ArgumentList="int player, unitgroup group, bool follow, bool isOffset">
         <![CDATA[native void     	CameraFollowUnitGroup (int player, unitgroup group, bool follow, bool isOffset);]]>
    </Native>
    <Native Name="CameraLookAt" ReturnType="void" ArgumentList="int player, point p, fixed duration, fixed velocity, fixed decelerate">
         <![CDATA[native void     	CameraLookAt (int player, point p, fixed duration, fixed velocity, fixed decelerate);]]>
    </Native>
    <Native Name="CameraLookAtActor" ReturnType="void" ArgumentList="int player, actor a">
         <![CDATA[native void     	CameraLookAtActor (int player, actor a);]]>
    </Native>
    <Native Name="CameraLookAtUnit" ReturnType="void" ArgumentList="int player, unit u">
         <![CDATA[native void     	CameraLookAtUnit (int player, unit u);]]>
    </Native>
    <Variable Name="c_cameraMoveReasonAny" Type="int" Value="-1">
         <![CDATA[const int c_cameraMoveReasonAny         	= -1;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonAlert" Type="int" Value="0">
         <![CDATA[const int c_cameraMoveReasonAlert       	= 0;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonKeyScroll" Type="int" Value="1">
         <![CDATA[const int c_cameraMoveReasonKeyScroll   	= 1;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonMinimap" Type="int" Value="2">
         <![CDATA[const int c_cameraMoveReasonMinimap     	= 2;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonMouseScroll" Type="int" Value="3">
         <![CDATA[const int c_cameraMoveReasonMouseScroll 	= 3;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonSelection" Type="int" Value="4">
         <![CDATA[const int c_cameraMoveReasonSelection   	= 4;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonTown" Type="int" Value="5">
         <![CDATA[const int c_cameraMoveReasonTown        	= 5;]]>
    </Variable>
    <Variable Name="c_cameraMoveReasonView" Type="int" Value="6">
         <![CDATA[const int c_cameraMoveReasonView        	= 6;]]>
    </Variable>
    <Native Name="TriggerAddEventCameraMove" ReturnType="void" ArgumentList="trigger t, int player, int reason">
         <![CDATA[native void     	TriggerAddEventCameraMove (trigger t, int player, int reason);]]>
    </Native>
    <Native Name="EventCameraMoveReason" ReturnType="int" ArgumentList="">
         <![CDATA[native int      	EventCameraMoveReason ();]]>
    </Native>
    <Native Name="CampaignInitAI" ReturnType="void" ArgumentList="">
         <![CDATA[native void 	CampaignInitAI ();]]>
    </Native>
    <Native Name="CampaignProgressSetText" ReturnType="void" ArgumentList="playergroup players, string campaignId, text inText">
         <![CDATA[native void		CampaignProgressSetText (playergroup players, string campaignId, text inText);]]>
    </Native>
    <Native Name="CampaignProgressSetImageFilePath" ReturnType="void" ArgumentList="playergroup players, string campaignId, string inFilePath">
         <![CDATA[native void		CampaignProgressSetImageFilePath (playergroup players, string campaignId, string inFilePath);]]>
    </Native>
    <Native Name="CampaignProgressSetTutorialFinished" ReturnType="void" ArgumentList="playergroup players, string campaignId, bool inFinished">
         <![CDATA[native void		CampaignProgressSetTutorialFinished (playergroup players, string campaignId, bool inFinished);]]>
    </Native>
    <Native Name="CampaignProgressSetCampaignFinished" ReturnType="void" ArgumentList="playergroup players, string campaignId, bool inFinished">
         <![CDATA[native void		CampaignProgressSetCampaignFinished (playergroup players, string campaignId, bool inFinished);]]>
    </Native>
    <Native Name="AbilityClass" ReturnType="int" ArgumentList="string ability">
         <![CDATA[native int AbilityClass (string ability);]]>
    </Native>
    <Native Name="CatalogEntryCount" ReturnType="int" ArgumentList="int catalog">
         <![CDATA[native int CatalogEntryCount (int catalog);]]>
    </Native>
    <Native Name="CatalogEntryGet" ReturnType="string" ArgumentList="int catalog, int index">
         <![CDATA[native string CatalogEntryGet (int catalog, int index);]]>
    </Native>
    <Native Name="CatalogEntryIsValid" ReturnType="bool" ArgumentList="int catalog, string entry">
         <![CDATA[native bool CatalogEntryIsValid (int catalog, string entry);]]>
    </Native>
    <Native Name="CatalogEntryClass" ReturnType="int" ArgumentList="int catalog, string entry">
         <![CDATA[native int CatalogEntryClass (int catalog, string entry);]]>
    </Native>
    <Native Name="CatalogEntryParent" ReturnType="string" ArgumentList="int catalog, string entry">
         <![CDATA[native string CatalogEntryParent (int catalog, string entry);]]>
    </Native>
    <Native Name="CatalogEntryScope" ReturnType="string" ArgumentList="int catalog, string entry">
         <![CDATA[native string CatalogEntryScope (int catalog, string entry);]]>
    </Native>
    <Native Name="CatalogFieldCount" ReturnType="int" ArgumentList="string scope">
         <![CDATA[native int CatalogFieldCount (string scope);]]>
    </Native>
    <Native Name="CatalogFieldGet" ReturnType="string" ArgumentList="string scope, int index">
         <![CDATA[native string CatalogFieldGet (string scope, int index);]]>
    </Native>
    <Native Name="CatalogFieldIsArray" ReturnType="bool" ArgumentList="string scope, string field">
         <![CDATA[native bool CatalogFieldIsArray (string scope, string field);]]>
    </Native>
    <Native Name="CatalogFieldIsScope" ReturnType="bool" ArgumentList="string scope, string field">
         <![CDATA[native bool CatalogFieldIsScope (string scope, string field);]]>
    </Native>
    <Native Name="CatalogFieldType" ReturnType="string" ArgumentList="string scope, string field">
         <![CDATA[native string CatalogFieldType (string scope, string field);]]>
    </Native>
    <Native Name="CatalogFieldValueCount" ReturnType="int" ArgumentList="int catalog, string entry, string fieldPath, int player">
         <![CDATA[native int CatalogFieldValueCount (int catalog, string entry, string fieldPath, int player);]]>
    </Native>
    <Native Name="CatalogFieldValueGet" ReturnType="string" ArgumentList="int catalog, string entry, string fieldPath, int player">
         <![CDATA[native string CatalogFieldValueGet (int catalog, string entry, string fieldPath, int player);]]>
    </Native>
    <Native Name="CatalogFieldValueSet" ReturnType="bool" ArgumentList="int catalog, string entry, string fieldPath, int player, string value">
         <![CDATA[native bool CatalogFieldValueSet (int catalog, string entry, string fieldPath, int player, string value);]]>
    </Native>
    <Native Name="CharacterSheetPanelSetNameText" ReturnType="void" ArgumentList="playergroup players, text inText">
         <![CDATA[native void 	CharacterSheetPanelSetNameText (playergroup players, text inText);]]>
    </Native>
    <Native Name="CharacterSheetPanelSetDescriptionText" ReturnType="void" ArgumentList="playergroup players, text inText">
         <![CDATA[native void 	CharacterSheetPanelSetDescriptionText (playergroup players, text inText);]]>
    </Native>
    <Native Name="CharacterSheetPanelSetPortraitModelLink" ReturnType="void" ArgumentList="playergroup players, string inModelLink">
         <![CDATA[native void 	CharacterSheetPanelSetPortraitModelLink (playergroup players, string inModelLink);]]>
    </Native>
    <Native Name="CinematicMode" ReturnType="void" ArgumentList="playergroup players, bool cinematicMode, fixed duration">
         <![CDATA[native void CinematicMode (playergroup players, bool cinematicMode, fixed duration);]]>
    </Native>
    <Variable Name="c_fadeStyleNormal" Type="int" Value="0">
         <![CDATA[const int c_fadeStyleNormal			= 0;]]>
    </Variable>
    <Variable Name="c_fadeStyleExponential" Type="int" Value="1">
         <![CDATA[const int c_fadeStyleExponential	= 1;]]>
    </Variable>
    <Variable Name="c_fadeStyleSine" Type="int" Value="2">
         <![CDATA[const int c_fadeStyleSine			= 2;]]>
    </Variable>
    <Variable Name="c_fadeStyleSquareRoot" Type="int" Value="3">
         <![CDATA[const int c_fadeStyleSquareRoot		= 3;]]>
    </Variable>
    <Native Name="CinematicFade" ReturnType="void" ArgumentList="bool fadeIn, fixed duration, int style, color inColor, fixed transparency, bool waitUntilDone">
         <![CDATA[native void CinematicFade (
    bool fadeIn,
    fixed duration,
    int style,
    color inColor,
    fixed transparency,
    bool waitUntilDone
);]]>
    </Native>
    <Native Name="CinematicOverlay" ReturnType="void" ArgumentList="bool fadeIn, fixed duration, string imagePath, fixed transparency, bool waitUntilDone">
         <![CDATA[native void CinematicOverlay (
    bool fadeIn,
    fixed duration,
    string imagePath,
    fixed transparency,
    bool waitUntilDone
);]]>
    </Native>
    <Native Name="CinematicDataRun" ReturnType="void" ArgumentList="int id, playergroup players, bool waitUntilDone">
         <![CDATA[native void CinematicDataRun (int id, playergroup players, bool waitUntilDone);]]>
    </Native>
    <Native Name="CinematicDataStop" ReturnType="void" ArgumentList="">
         <![CDATA[native void CinematicDataStop ();]]>
    </Native>
    <Native Name="BoolToInt" ReturnType="int" ArgumentList="bool f">
         <![CDATA[native int      BoolToInt (bool f);]]>
    </Native>
    <Native Name="Color255FromFixed" ReturnType="int" ArgumentList="fixed f">
         <![CDATA[native int      Color255FromFixed (fixed f);]]>
    </Native>
    <Native Name="IntToFixed" ReturnType="fixed" ArgumentList="int x">
         <![CDATA[native fixed    IntToFixed (int x);]]>
    </Native>
    <Native Name="IntToString" ReturnType="string" ArgumentList="int x">
         <![CDATA[native string   IntToString (int x);]]>
    </Native>
    <Native Name="IntToText" ReturnType="text" ArgumentList="int x">
         <![CDATA[native text     IntToText (int x);]]>
    </Native>
    <Variable Name="c_fixedPrecisionAny" Type="int" Value="-1">
         <![CDATA[const int c_fixedPrecisionAny = -1;]]>
    </Variable>
    <Native Name="FixedToInt" ReturnType="int" ArgumentList="fixed x">
         <![CDATA[native int      FixedToInt (fixed x);]]>
    </Native>
    <Native Name="FixedToString" ReturnType="string" ArgumentList="fixed x, int precision">
         <![CDATA[native string   FixedToString (fixed x, int precision);]]>
    </Native>
    <Native Name="FixedToText" ReturnType="text" ArgumentList="fixed x, int precision">
         <![CDATA[native text     FixedToText (fixed x, int precision);]]>
    </Native>
    <Native Name="StringToInt" ReturnType="int" ArgumentList="string x">
         <![CDATA[native int      StringToInt (string x);]]>
    </Native>
    <Native Name="StringToFixed" ReturnType="fixed" ArgumentList="string x">
         <![CDATA[native fixed    StringToFixed (string x);]]>
    </Native>
    <Variable Name="c_colorComponentRed" Type="int" Value="0">
         <![CDATA[const int c_colorComponentRed   = 0;]]>
    </Variable>
    <Variable Name="c_colorComponentGreen" Type="int" Value="1">
         <![CDATA[const int c_colorComponentGreen = 1;]]>
    </Variable>
    <Variable Name="c_colorComponentBlue" Type="int" Value="2">
         <![CDATA[const int c_colorComponentBlue  = 2;]]>
    </Variable>
    <Variable Name="c_colorComponentAlpha" Type="int" Value="3">
         <![CDATA[const int c_colorComponentAlpha = 3;]]>
    </Variable>
    <Native Name="Color" ReturnType="color" ArgumentList="fixed r, fixed g, fixed b">
         <![CDATA[native color    Color (fixed r, fixed g, fixed b);]]>
    </Native>
    <Native Name="ColorWithAlpha" ReturnType="color" ArgumentList="fixed r, fixed g, fixed b, fixed a">
         <![CDATA[native color    ColorWithAlpha (fixed r, fixed g, fixed b, fixed a);]]>
    </Native>
    <Native Name="ColorFromIndex" ReturnType="color" ArgumentList="int inIndex, int inType">
         <![CDATA[native color    ColorFromIndex (int inIndex, int inType);]]>
    </Native>
    <Native Name="ColorGetComponent" ReturnType="fixed" ArgumentList="color c, int component">
         <![CDATA[native fixed    ColorGetComponent (color c, int component);]]>
    </Native>
    <Native Name="FormatNumber" ReturnType="text" ArgumentList="int number">
         <![CDATA[native text     FormatNumber (int number);]]>
    </Native>
    <Native Name="FormatDuration" ReturnType="text" ArgumentList="int seconds">
         <![CDATA[native text     FormatDuration (int seconds);]]>
    </Native>
    <Variable Name="c_invalidConversationId" Type="int" Value="0">
         <![CDATA[const int c_invalidConversationId           = 0;]]>
    </Variable>
    <Variable Name="c_invalidReplyId" Type="int" Value="0">
         <![CDATA[const int c_invalidReplyId                  = 0;]]>
    </Variable>
    <Variable Name="c_conversationReplyStateUnread" Type="int" Value="0">
         <![CDATA[const int c_conversationReplyStateUnread    = 0;]]>
    </Variable>
    <Variable Name="c_conversationReplyStateRead" Type="int" Value="1">
         <![CDATA[const int c_conversationReplyStateRead      = 1;]]>
    </Variable>
    <Variable Name="c_conversationReplyStateOld" Type="int" Value="2">
         <![CDATA[const int c_conversationReplyStateOld       = 2;]]>
    </Variable>
    <Native Name="ConversationCreate" ReturnType="int" ArgumentList="bool visible">
         <![CDATA[native int          ConversationCreate (bool visible);]]>
    </Native>
    <Native Name="ConversationLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          ConversationLastCreated ();]]>
    </Native>
    <Native Name="ConversationDestroy" ReturnType="void" ArgumentList="int intId">
         <![CDATA[native void         ConversationDestroy (int intId);]]>
    </Native>
    <Native Name="ConversationDestroyAll" ReturnType="void" ArgumentList="">
         <![CDATA[native void         ConversationDestroyAll ();]]>
    </Native>
    <Native Name="ConversationShow" ReturnType="void" ArgumentList="int intId, playergroup to, bool visible">
         <![CDATA[native void         ConversationShow (int intId, playergroup to, bool visible);]]>
    </Native>
    <Native Name="ConversationVisible" ReturnType="bool" ArgumentList="int intId, int player">
         <![CDATA[native bool         ConversationVisible (int intId, int player);]]>
    </Native>
    <Native Name="ConversationReplyCreate" ReturnType="int" ArgumentList="int intId, text inText">
         <![CDATA[native int          ConversationReplyCreate (int intId, text inText);]]>
    </Native>
    <Native Name="ConversationReplyLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          ConversationReplyLastCreated ();]]>
    </Native>
    <Native Name="ConversationReplyDestroy" ReturnType="void" ArgumentList="int intId, int replyId">
         <![CDATA[native void         ConversationReplyDestroy (int intId, int replyId);]]>
    </Native>
    <Native Name="ConversationReplyDestroyAll" ReturnType="void" ArgumentList="int intId">
         <![CDATA[native void         ConversationReplyDestroyAll (int intId);]]>
    </Native>
    <Native Name="ConversationReplySetText" ReturnType="void" ArgumentList="int intId, int replyId, text inText">
         <![CDATA[native void         ConversationReplySetText (int intId, int replyId, text inText);]]>
    </Native>
    <Native Name="ConversationReplyGetText" ReturnType="text" ArgumentList="int intId, int replyId">
         <![CDATA[native text         ConversationReplyGetText (int intId, int replyId);]]>
    </Native>
    <Native Name="ConversationReplySetState" ReturnType="void" ArgumentList="int intId, int replyId, int state">
         <![CDATA[native void         ConversationReplySetState (int intId, int replyId, int state);]]>
    </Native>
    <Native Name="ConversationReplyGetState" ReturnType="int" ArgumentList="int intId, int replyId">
         <![CDATA[native int          ConversationReplyGetState (int intId, int replyId);]]>
    </Native>
    <Native Name="TriggerAddEventConversationReplySelected" ReturnType="void" ArgumentList="trigger t, int player, int intId, int replyId">
         <![CDATA[native void         TriggerAddEventConversationReplySelected (trigger t, int player, int intId, int replyId);]]>
    </Native>
    <Native Name="EventConversation" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventConversation ();]]>
    </Native>
    <Native Name="EventConversationReply" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventConversationReply ();]]>
    </Native>
    <Native Name="ConversationReplyGetIndex" ReturnType="int" ArgumentList="int intId, int replyId">
         <![CDATA[native int          ConversationReplyGetIndex (int intId, int replyId);]]>
    </Native>
    <Native Name="ConversationDataStateIndexCount" ReturnType="int" ArgumentList="string inStateId">
         <![CDATA[native int          ConversationDataStateIndexCount (string inStateId);]]>
    </Native>
    <Native Name="ConversationDataStateIndex" ReturnType="string" ArgumentList="string inStateId, int inIndex">
         <![CDATA[native string       ConversationDataStateIndex (string inStateId, int inIndex);]]>
    </Native>
    <Native Name="ConversationDataStateName" ReturnType="text" ArgumentList="string stateIndex">
         <![CDATA[native text         ConversationDataStateName (string stateIndex);]]>
    </Native>
    <Native Name="ConversationDataStateText" ReturnType="text" ArgumentList="string stateIndex, string inInfoName">
         <![CDATA[native text         ConversationDataStateText (string stateIndex, string inInfoName);]]>
    </Native>
    <Native Name="ConversationDataStateFixedValue" ReturnType="fixed" ArgumentList="string stateIndex, string inInfoName">
         <![CDATA[native fixed        ConversationDataStateFixedValue (string stateIndex, string inInfoName);]]>
    </Native>
    <Native Name="ConversationDataStateImagePath" ReturnType="string" ArgumentList="string stateIndex">
         <![CDATA[native string       ConversationDataStateImagePath (string stateIndex);]]>
    </Native>
    <Native Name="ConversationDataStateImageEdge" ReturnType="int" ArgumentList="string stateIndex">
         <![CDATA[native int          ConversationDataStateImageEdge (string stateIndex);]]>
    </Native>
    <Native Name="ConversationDataStateAttachPoint" ReturnType="string" ArgumentList="string stateIndex">
         <![CDATA[native string       ConversationDataStateAttachPoint (string stateIndex);]]>
    </Native>
    <Native Name="ConversationDataStateMoviePath" ReturnType="string" ArgumentList="string stateIndex">
         <![CDATA[native string       ConversationDataStateMoviePath (string stateIndex);]]>
    </Native>
    <Native Name="ConversationDataStateModel" ReturnType="string" ArgumentList="string stateIndex, string inInfoName">
         <![CDATA[native string       ConversationDataStateModel (string stateIndex, string inInfoName);]]>
    </Native>
    <Native Name="ConversationDataStateUpgrade" ReturnType="string" ArgumentList="string stateIndex, string inInfoName">
         <![CDATA[native string       ConversationDataStateUpgrade (string stateIndex, string inInfoName);]]>
    </Native>
    <Native Name="ConversationDataStateAbilCmd" ReturnType="abilcmd" ArgumentList="string stateIndex, string inInfoName">
         <![CDATA[native abilcmd      ConversationDataStateAbilCmd (string stateIndex, string inInfoName);]]>
    </Native>
    <Native Name="ConversationDataRegisterCamera" ReturnType="void" ArgumentList="string camIndex, string charIndex, camerainfo c, trigger t, bool wait">
         <![CDATA[native void         ConversationDataRegisterCamera (string camIndex, string charIndex, camerainfo c, trigger t, bool wait);]]>
    </Native>
    <Native Name="ConversationDataRegisterUnit" ReturnType="void" ArgumentList="string stateIndex, unit u">
         <![CDATA[native void         ConversationDataRegisterUnit (string stateIndex, unit u);]]>
    </Native>
    <Native Name="ConversationDataRegisterPortrait" ReturnType="void" ArgumentList="string stateIndex, int p">
         <![CDATA[native void         ConversationDataRegisterPortrait (string stateIndex, int p);]]>
    </Native>
    <Native Name="ConversationDataStateSetValue" ReturnType="void" ArgumentList="string stateIndex, int value">
         <![CDATA[native void         ConversationDataStateSetValue (string stateIndex, int value);]]>
    </Native>
    <Native Name="ConversationDataStateGetValue" ReturnType="int" ArgumentList="string stateIndex">
         <![CDATA[native int          ConversationDataStateGetValue (string stateIndex);]]>
    </Native>
    <Native Name="ConversationDataChoiceCount" ReturnType="int" ArgumentList="string convId">
         <![CDATA[native int          ConversationDataChoiceCount (string convId);]]>
    </Native>
    <Native Name="ConversationDataChoiceId" ReturnType="string" ArgumentList="string convId, int index">
         <![CDATA[native string       ConversationDataChoiceId (string convId, int index);]]>
    </Native>
    <Native Name="ConversationDataChoiceSetState" ReturnType="void" ArgumentList="string convId, string choiceId, int state">
         <![CDATA[native void         ConversationDataChoiceSetState (string convId, string choiceId, int state);]]>
    </Native>
    <Native Name="ConversationDataChoiceGetState" ReturnType="int" ArgumentList="string convId, string choiceId">
         <![CDATA[native int          ConversationDataChoiceGetState (string convId, string choiceId);]]>
    </Native>
    <Native Name="ConversationDataChoiceSetPicked" ReturnType="void" ArgumentList="string convId, string choiceId, bool picked">
         <![CDATA[native void         ConversationDataChoiceSetPicked (string convId, string choiceId, bool picked);]]>
    </Native>
    <Native Name="ConversationDataChoiceGetPicked" ReturnType="bool" ArgumentList="string convId, string choiceId">
         <![CDATA[native bool         ConversationDataChoiceGetPicked (string convId, string choiceId);]]>
    </Native>
    <Native Name="ConversationDataChoiceSetPickedCount" ReturnType="void" ArgumentList="string convId, string choiceId, int count">
         <![CDATA[native void         ConversationDataChoiceSetPickedCount (string convId, string choiceId, int count);]]>
    </Native>
    <Native Name="ConversationDataChoiceGetPickedCount" ReturnType="int" ArgumentList="string convId, string choiceId">
         <![CDATA[native int          ConversationDataChoiceGetPickedCount (string convId, string choiceId);]]>
    </Native>
    <Native Name="ConversationDataLineCount" ReturnType="int" ArgumentList="string convId">
         <![CDATA[native int          ConversationDataLineCount (string convId);]]>
    </Native>
    <Native Name="ConversationDataLineId" ReturnType="string" ArgumentList="string convId, int index">
         <![CDATA[native string       ConversationDataLineId (string convId, int index);]]>
    </Native>
    <Native Name="ConversationDataLineSetPickedCount" ReturnType="void" ArgumentList="string convId, string lineId, int count">
         <![CDATA[native void         ConversationDataLineSetPickedCount (string convId, string lineId, int count);]]>
    </Native>
    <Native Name="ConversationDataLineGetPickedCount" ReturnType="int" ArgumentList="string convId, string lineId">
         <![CDATA[native int          ConversationDataLineGetPickedCount (string convId, string lineId);]]>
    </Native>
    <Native Name="ConversationDataSaveStateValues" ReturnType="void" ArgumentList="string stateId, bank b, string section">
         <![CDATA[native void         ConversationDataSaveStateValues (string stateId, bank b, string section);]]>
    </Native>
    <Native Name="ConversationDataLoadStateValues" ReturnType="void" ArgumentList="string stateId, bank b, string section">
         <![CDATA[native void         ConversationDataLoadStateValues (string stateId, bank b, string section);]]>
    </Native>
    <Native Name="ConversationDataResetStateValues" ReturnType="void" ArgumentList="string stateId">
         <![CDATA[native void         ConversationDataResetStateValues (string stateId);]]>
    </Native>
    <Native Name="ConversationDataSaveNodeState" ReturnType="void" ArgumentList="string convId, bank b, string section">
         <![CDATA[native void         ConversationDataSaveNodeState (string convId, bank b, string section);]]>
    </Native>
    <Native Name="ConversationDataLoadNodeState" ReturnType="void" ArgumentList="string convId, bank b, string section">
         <![CDATA[native void         ConversationDataLoadNodeState (string convId, bank b, string section);]]>
    </Native>
    <Native Name="ConversationDataResetNodeState" ReturnType="void" ArgumentList="string convId">
         <![CDATA[native void         ConversationDataResetNodeState (string convId);]]>
    </Native>
    <Native Name="ConversationDataPreloadLines" ReturnType="void" ArgumentList="string convId">
         <![CDATA[native void         ConversationDataPreloadLines (string convId);]]>
    </Native>
    <Native Name="ConversationDataCanRun" ReturnType="bool" ArgumentList="string convId, bool unpickedOnly">
         <![CDATA[native bool         ConversationDataCanRun (string convId, bool unpickedOnly);]]>
    </Native>
    <Variable Name="c_conversationSkipNone" Type="int" Value="0">
         <![CDATA[const int c_conversationSkipNone    = 0;]]>
    </Variable>
    <Variable Name="c_conversationSkipSimple" Type="int" Value="1">
         <![CDATA[const int c_conversationSkipSimple  = 1;]]>
    </Variable>
    <Variable Name="c_conversationSkipFull" Type="int" Value="2">
         <![CDATA[const int c_conversationSkipFull    = 2;]]>
    </Variable>
    <Native Name="ConversationDataRun" ReturnType="void" ArgumentList="string convId, playergroup players, int skipType, bool waitUntilDone">
         <![CDATA[native void         ConversationDataRun (string convId, playergroup players, int skipType, bool waitUntilDone);]]>
    </Native>
    <Native Name="ConversationDataStop" ReturnType="void" ArgumentList="">
         <![CDATA[native void         ConversationDataStop ();]]>
    </Native>
    <Native Name="ConversationDataActiveSound" ReturnType="string" ArgumentList="">
         <![CDATA[native string       ConversationDataActiveSound ();]]>
    </Native>
    <Native Name="ConversationDataActiveCamera" ReturnType="string" ArgumentList="">
         <![CDATA[native string       ConversationDataActiveCamera ();]]>
    </Native>
    <Native Name="TriggerAddEventConversationStateChanged" ReturnType="void" ArgumentList="trigger t, string stateIndex">
         <![CDATA[native void         TriggerAddEventConversationStateChanged (trigger t, string stateIndex);]]>
    </Native>
    <Native Name="EventConversationState" ReturnType="string" ArgumentList="">
         <![CDATA[native string       EventConversationState ();]]>
    </Native>
    <Variable Name="c_dataTypeUnknown" Type="int" Value="-1">
         <![CDATA[const int c_dataTypeUnknown             = -1;]]>
    </Variable>
    <Variable Name="c_dataTypeAbilCmd" Type="int" Value="0">
         <![CDATA[const int c_dataTypeAbilCmd             =  0;]]>
    </Variable>
    <Variable Name="c_dataTypeActor" Type="int" Value="1">
         <![CDATA[const int c_dataTypeActor               =  1;]]>
    </Variable>
    <Variable Name="c_dataTypeActorScope" Type="int" Value="2">
         <![CDATA[const int c_dataTypeActorScope          =  2;]]>
    </Variable>
    <Variable Name="c_dataTypeAIFilter" Type="int" Value="3">
         <![CDATA[const int c_dataTypeAIFilter            =  3;]]>
    </Variable>
    <Variable Name="c_dataTypeBank" Type="int" Value="4">
         <![CDATA[const int c_dataTypeBank                =  4;]]>
    </Variable>
    <Variable Name="c_dataTypeBool" Type="int" Value="5">
         <![CDATA[const int c_dataTypeBool                =  5;]]>
    </Variable>
    <Variable Name="c_dataTypeByte" Type="int" Value="6">
         <![CDATA[const int c_dataTypeByte                =  6;]]>
    </Variable>
    <Variable Name="c_dataTypeCameraInfo" Type="int" Value="7">
         <![CDATA[const int c_dataTypeCameraInfo          =  7;]]>
    </Variable>
    <Variable Name="c_dataTypeCinematic" Type="int" Value="8">
         <![CDATA[const int c_dataTypeCinematic           =  8;]]>
    </Variable>
    <Variable Name="c_dataTypeColor" Type="int" Value="9">
         <![CDATA[const int c_dataTypeColor               =  9;]]>
    </Variable>
    <Variable Name="c_dataTypeControl" Type="int" Value="10">
         <![CDATA[const int c_dataTypeControl             = 10;]]>
    </Variable>
    <Variable Name="c_dataTypeConversation" Type="int" Value="11">
         <![CDATA[const int c_dataTypeConversation        = 11;]]>
    </Variable>
    <Variable Name="c_dataTypeDialog" Type="int" Value="12">
         <![CDATA[const int c_dataTypeDialog              = 12;]]>
    </Variable>
    <Variable Name="c_dataTypeDoodad" Type="int" Value="13">
         <![CDATA[const int c_dataTypeDoodad              = 13;]]>
    </Variable>
    <Variable Name="c_dataTypeFixed" Type="int" Value="14">
         <![CDATA[const int c_dataTypeFixed               = 14;]]>
    </Variable>
    <Variable Name="c_dataTypeInt" Type="int" Value="15">
         <![CDATA[const int c_dataTypeInt                 = 15;]]>
    </Variable>
    <Variable Name="c_dataTypeMarker" Type="int" Value="16">
         <![CDATA[const int c_dataTypeMarker              = 16;]]>
    </Variable>
    <Variable Name="c_dataTypeObjective" Type="int" Value="17">
         <![CDATA[const int c_dataTypeObjective           = 17;]]>
    </Variable>
    <Variable Name="c_dataTypeOrder" Type="int" Value="18">
         <![CDATA[const int c_dataTypeOrder               = 18;]]>
    </Variable>
    <Variable Name="c_dataTypePing" Type="int" Value="19">
         <![CDATA[const int c_dataTypePing                = 19;]]>
    </Variable>
    <Variable Name="c_dataTypePlanet" Type="int" Value="20">
         <![CDATA[const int c_dataTypePlanet              = 20;]]>
    </Variable>
    <Variable Name="c_dataTypePlayerGroup" Type="int" Value="21">
         <![CDATA[const int c_dataTypePlayerGroup         = 21;]]>
    </Variable>
    <Variable Name="c_dataTypePoint" Type="int" Value="22">
         <![CDATA[const int c_dataTypePoint               = 22;]]>
    </Variable>
    <Variable Name="c_dataTypePortrait" Type="int" Value="23">
         <![CDATA[const int c_dataTypePortrait            = 23;]]>
    </Variable>
    <Variable Name="c_dataTypeRegion" Type="int" Value="24">
         <![CDATA[const int c_dataTypeRegion              = 24;]]>
    </Variable>
    <Variable Name="c_dataTypeReply" Type="int" Value="25">
         <![CDATA[const int c_dataTypeReply               = 25;]]>
    </Variable>
    <Variable Name="c_dataTypeRevealer" Type="int" Value="26">
         <![CDATA[const int c_dataTypeRevealer            = 26;]]>
    </Variable>
    <Variable Name="c_dataTypeRoom" Type="int" Value="27">
         <![CDATA[const int c_dataTypeRoom                = 27;]]>
    </Variable>
    <Variable Name="c_dataTypeSound" Type="int" Value="28">
         <![CDATA[const int c_dataTypeSound               = 28;]]>
    </Variable>
    <Variable Name="c_dataTypeSoundLink" Type="int" Value="29">
         <![CDATA[const int c_dataTypeSoundLink           = 29;]]>
    </Variable>
    <Variable Name="c_dataTypeString" Type="int" Value="30">
         <![CDATA[const int c_dataTypeString              = 30;]]>
    </Variable>
    <Variable Name="c_dataTypeText" Type="int" Value="31">
         <![CDATA[const int c_dataTypeText                = 31;]]>
    </Variable>
    <Variable Name="c_dataTypeTimer" Type="int" Value="32">
         <![CDATA[const int c_dataTypeTimer               = 32;]]>
    </Variable>
    <Variable Name="c_dataTypeTransmission" Type="int" Value="33">
         <![CDATA[const int c_dataTypeTransmission        = 33;]]>
    </Variable>
    <Variable Name="c_dataTypeTransmissionSource" Type="int" Value="34">
         <![CDATA[const int c_dataTypeTransmissionSource  = 34;]]>
    </Variable>
    <Variable Name="c_dataTypeTrigger" Type="int" Value="35">
         <![CDATA[const int c_dataTypeTrigger             = 35;]]>
    </Variable>
    <Variable Name="c_dataTypeUnit" Type="int" Value="36">
         <![CDATA[const int c_dataTypeUnit                = 36;]]>
    </Variable>
    <Variable Name="c_dataTypeUnitFilter" Type="int" Value="37">
         <![CDATA[const int c_dataTypeUnitFilter          = 37;]]>
    </Variable>
    <Variable Name="c_dataTypeUnitGroup" Type="int" Value="38">
         <![CDATA[const int c_dataTypeUnitGroup           = 38;]]>
    </Variable>
    <Variable Name="c_dataTypeUnitRef" Type="int" Value="39">
         <![CDATA[const int c_dataTypeUnitRef             = 39;]]>
    </Variable>
    <Variable Name="c_dataTypeWave" Type="int" Value="40">
         <![CDATA[const int c_dataTypeWave                = 40;]]>
    </Variable>
    <Variable Name="c_dataTypeWaveInfo" Type="int" Value="41">
         <![CDATA[const int c_dataTypeWaveInfo            = 41;]]>
    </Variable>
    <Variable Name="c_dataTypeWaveTarget" Type="int" Value="42">
         <![CDATA[const int c_dataTypeWaveTarget          = 42;]]>
    </Variable>
    <Native Name="DataTableClear" ReturnType="void" ArgumentList="bool global">
         <![CDATA[native void     DataTableClear (bool global);]]>
    </Native>
    <Native Name="DataTableValueCount" ReturnType="int" ArgumentList="bool global">
         <![CDATA[native int      DataTableValueCount (bool global);]]>
    </Native>
    <Native Name="DataTableValueName" ReturnType="string" ArgumentList="bool global, int index">
         <![CDATA[native string   DataTableValueName (bool global, int index);]]>
    </Native>
    <Native Name="DataTableValueExists" ReturnType="bool" ArgumentList="bool global, string name">
         <![CDATA[native bool     DataTableValueExists (bool global, string name);]]>
    </Native>
    <Native Name="DataTableValueType" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int      DataTableValueType (bool global, string name);]]>
    </Native>
    <Native Name="DataTableValueRemove" ReturnType="void" ArgumentList="bool global, string name">
         <![CDATA[native void     DataTableValueRemove (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetAbilCmd" ReturnType="void" ArgumentList="bool global, string name, abilcmd val">
         <![CDATA[native void         DataTableSetAbilCmd (bool global, string name, abilcmd val);]]>
    </Native>
    <Native Name="DataTableGetAbilCmd" ReturnType="abilcmd" ArgumentList="bool global, string name">
         <![CDATA[native abilcmd      DataTableGetAbilCmd (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetActor" ReturnType="void" ArgumentList="bool global, string name, actor val">
         <![CDATA[native void         DataTableSetActor (bool global, string name, actor val);]]>
    </Native>
    <Native Name="DataTableGetActor" ReturnType="actor" ArgumentList="bool global, string name">
         <![CDATA[native actor        DataTableGetActor (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetActorScope" ReturnType="void" ArgumentList="bool global, string name, actorscope val">
         <![CDATA[native void         DataTableSetActorScope (bool global, string name, actorscope val);]]>
    </Native>
    <Native Name="DataTableGetActorScope" ReturnType="actorscope" ArgumentList="bool global, string name">
         <![CDATA[native actorscope   DataTableGetActorScope (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetAIFilter" ReturnType="void" ArgumentList="bool global, string name, aifilter val">
         <![CDATA[native void         DataTableSetAIFilter (bool global, string name, aifilter val);]]>
    </Native>
    <Native Name="DataTableGetAIFilter" ReturnType="aifilter" ArgumentList="bool global, string name">
         <![CDATA[native aifilter     DataTableGetAIFilter (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetBank" ReturnType="void" ArgumentList="bool global, string name, bank val">
         <![CDATA[native void         DataTableSetBank (bool global, string name, bank val);]]>
    </Native>
    <Native Name="DataTableGetBank" ReturnType="bank" ArgumentList="bool global, string name">
         <![CDATA[native bank         DataTableGetBank (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetBool" ReturnType="void" ArgumentList="bool global, string name, bool val">
         <![CDATA[native void         DataTableSetBool (bool global, string name, bool val);]]>
    </Native>
    <Native Name="DataTableGetBool" ReturnType="bool" ArgumentList="bool global, string name">
         <![CDATA[native bool         DataTableGetBool (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetByte" ReturnType="void" ArgumentList="bool global, string name, byte val">
         <![CDATA[native void         DataTableSetByte (bool global, string name, byte val);]]>
    </Native>
    <Native Name="DataTableGetByte" ReturnType="byte" ArgumentList="bool global, string name">
         <![CDATA[native byte         DataTableGetByte (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetCameraInfo" ReturnType="void" ArgumentList="bool global, string name, camerainfo val">
         <![CDATA[native void         DataTableSetCameraInfo (bool global, string name, camerainfo val);]]>
    </Native>
    <Native Name="DataTableGetCameraInfo" ReturnType="camerainfo" ArgumentList="bool global, string name">
         <![CDATA[native camerainfo   DataTableGetCameraInfo (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetCinematic" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetCinematic (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetCinematic" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetCinematic (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetColor" ReturnType="void" ArgumentList="bool global, string name, color val">
         <![CDATA[native void         DataTableSetColor (bool global, string name, color val);]]>
    </Native>
    <Native Name="DataTableGetColor" ReturnType="color" ArgumentList="bool global, string name">
         <![CDATA[native color        DataTableGetColor (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetControl" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetControl (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetControl" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetControl (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetConversation" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetConversation (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetConversation" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetConversation (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetDialog" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetDialog (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetDialog" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetDialog (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetDoodad" ReturnType="void" ArgumentList="bool global, string name, doodad val">
         <![CDATA[native void         DataTableSetDoodad (bool global, string name, doodad val);]]>
    </Native>
    <Native Name="DataTableGetDoodad" ReturnType="doodad" ArgumentList="bool global, string name">
         <![CDATA[native doodad       DataTableGetDoodad (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetFixed" ReturnType="void" ArgumentList="bool global, string name, fixed val">
         <![CDATA[native void         DataTableSetFixed (bool global, string name, fixed val);]]>
    </Native>
    <Native Name="DataTableGetFixed" ReturnType="fixed" ArgumentList="bool global, string name">
         <![CDATA[native fixed        DataTableGetFixed (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetInt" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetInt (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetInt" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetInt (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetMarker" ReturnType="void" ArgumentList="bool global, string name, marker val">
         <![CDATA[native void         DataTableSetMarker (bool global, string name, marker val);]]>
    </Native>
    <Native Name="DataTableGetMarker" ReturnType="marker" ArgumentList="bool global, string name">
         <![CDATA[native marker       DataTableGetMarker (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetObjective" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetObjective (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetObjective" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetObjective (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetOrder" ReturnType="void" ArgumentList="bool global, string name, order val">
         <![CDATA[native void         DataTableSetOrder (bool global, string name, order val);]]>
    </Native>
    <Native Name="DataTableGetOrder" ReturnType="order" ArgumentList="bool global, string name">
         <![CDATA[native order        DataTableGetOrder (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetPing" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetPing (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetPing" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetPing (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetPlanet" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetPlanet (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetPlanet" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetPlanet (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetPlayerGroup" ReturnType="void" ArgumentList="bool global, string name, playergroup val">
         <![CDATA[native void         DataTableSetPlayerGroup (bool global, string name, playergroup val);]]>
    </Native>
    <Native Name="DataTableGetPlayerGroup" ReturnType="playergroup" ArgumentList="bool global, string name">
         <![CDATA[native playergroup  DataTableGetPlayerGroup (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetPoint" ReturnType="void" ArgumentList="bool global, string name, point val">
         <![CDATA[native void         DataTableSetPoint (bool global, string name, point val);]]>
    </Native>
    <Native Name="DataTableGetPoint" ReturnType="point" ArgumentList="bool global, string name">
         <![CDATA[native point        DataTableGetPoint (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetPortrait" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetPortrait (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetPortrait" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetPortrait (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetRegion" ReturnType="void" ArgumentList="bool global, string name, region val">
         <![CDATA[native void         DataTableSetRegion (bool global, string name, region val);]]>
    </Native>
    <Native Name="DataTableGetRegion" ReturnType="region" ArgumentList="bool global, string name">
         <![CDATA[native region       DataTableGetRegion (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetReply" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetReply (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetReply" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetReply (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetRevealer" ReturnType="void" ArgumentList="bool global, string name, revealer val">
         <![CDATA[native void         DataTableSetRevealer (bool global, string name, revealer val);]]>
    </Native>
    <Native Name="DataTableGetRevealer" ReturnType="revealer" ArgumentList="bool global, string name">
         <![CDATA[native revealer     DataTableGetRevealer (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetRoom" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetRoom (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetRoom" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetRoom (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetSound" ReturnType="void" ArgumentList="bool global, string name, sound val">
         <![CDATA[native void         DataTableSetSound (bool global, string name, sound val);]]>
    </Native>
    <Native Name="DataTableGetSound" ReturnType="sound" ArgumentList="bool global, string name">
         <![CDATA[native sound        DataTableGetSound (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetSoundLink" ReturnType="void" ArgumentList="bool global, string name, soundlink val">
         <![CDATA[native void         DataTableSetSoundLink (bool global, string name, soundlink val);]]>
    </Native>
    <Native Name="DataTableGetSoundLink" ReturnType="soundlink" ArgumentList="bool global, string name">
         <![CDATA[native soundlink    DataTableGetSoundLink (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetString" ReturnType="void" ArgumentList="bool global, string name, string val">
         <![CDATA[native void         DataTableSetString (bool global, string name, string val);]]>
    </Native>
    <Native Name="DataTableGetString" ReturnType="string" ArgumentList="bool global, string name">
         <![CDATA[native string       DataTableGetString (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetText" ReturnType="void" ArgumentList="bool global, string name, text val">
         <![CDATA[native void         DataTableSetText (bool global, string name, text val);]]>
    </Native>
    <Native Name="DataTableGetText" ReturnType="text" ArgumentList="bool global, string name">
         <![CDATA[native text         DataTableGetText (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetTimer" ReturnType="void" ArgumentList="bool global, string name, timer val">
         <![CDATA[native void         DataTableSetTimer (bool global, string name, timer val);]]>
    </Native>
    <Native Name="DataTableGetTimer" ReturnType="timer" ArgumentList="bool global, string name">
         <![CDATA[native timer        DataTableGetTimer (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetTransmission" ReturnType="void" ArgumentList="bool global, string name, int val">
         <![CDATA[native void         DataTableSetTransmission (bool global, string name, int val);]]>
    </Native>
    <Native Name="DataTableGetTransmission" ReturnType="int" ArgumentList="bool global, string name">
         <![CDATA[native int          DataTableGetTransmission (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetTransmissionSource" ReturnType="void" ArgumentList="bool global, string name, transmissionsource val">
         <![CDATA[native void                 DataTableSetTransmissionSource (bool global, string name, transmissionsource val);]]>
    </Native>
    <Native Name="DataTableGetTransmissionSource" ReturnType="transmissionsource" ArgumentList="bool global, string name">
         <![CDATA[native transmissionsource   DataTableGetTransmissionSource (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetTrigger" ReturnType="void" ArgumentList="bool global, string name, trigger val">
         <![CDATA[native void         DataTableSetTrigger (bool global, string name, trigger val);]]>
    </Native>
    <Native Name="DataTableGetTrigger" ReturnType="trigger" ArgumentList="bool global, string name">
         <![CDATA[native trigger      DataTableGetTrigger (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetUnit" ReturnType="void" ArgumentList="bool global, string name, unit val">
         <![CDATA[native void         DataTableSetUnit (bool global, string name, unit val);]]>
    </Native>
    <Native Name="DataTableGetUnit" ReturnType="unit" ArgumentList="bool global, string name">
         <![CDATA[native unit         DataTableGetUnit (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetUnitFilter" ReturnType="void" ArgumentList="bool global, string name, unitfilter val">
         <![CDATA[native void         DataTableSetUnitFilter (bool global, string name, unitfilter val);]]>
    </Native>
    <Native Name="DataTableGetUnitFilter" ReturnType="unitfilter" ArgumentList="bool global, string name">
         <![CDATA[native unitfilter   DataTableGetUnitFilter (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetUnitGroup" ReturnType="void" ArgumentList="bool global, string name, unitgroup val">
         <![CDATA[native void         DataTableSetUnitGroup (bool global, string name, unitgroup val);]]>
    </Native>
    <Native Name="DataTableGetUnitGroup" ReturnType="unitgroup" ArgumentList="bool global, string name">
         <![CDATA[native unitgroup    DataTableGetUnitGroup (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetUnitRef" ReturnType="void" ArgumentList="bool global, string name, unitref val">
         <![CDATA[native void         DataTableSetUnitRef (bool global, string name, unitref val);]]>
    </Native>
    <Native Name="DataTableGetUnitRef" ReturnType="unitref" ArgumentList="bool global, string name">
         <![CDATA[native unitref      DataTableGetUnitRef (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetWave" ReturnType="void" ArgumentList="bool global, string name, wave val">
         <![CDATA[native void         DataTableSetWave (bool global, string name, wave val);]]>
    </Native>
    <Native Name="DataTableGetWave" ReturnType="wave" ArgumentList="bool global, string name">
         <![CDATA[native wave         DataTableGetWave (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetWaveInfo" ReturnType="void" ArgumentList="bool global, string name, waveinfo val">
         <![CDATA[native void         DataTableSetWaveInfo (bool global, string name, waveinfo val);]]>
    </Native>
    <Native Name="DataTableGetWaveInfo" ReturnType="waveinfo" ArgumentList="bool global, string name">
         <![CDATA[native waveinfo     DataTableGetWaveInfo (bool global, string name);]]>
    </Native>
    <Native Name="DataTableSetWaveTarget" ReturnType="void" ArgumentList="bool global, string name, wavetarget val">
         <![CDATA[native void         DataTableSetWaveTarget (bool global, string name, wavetarget val);]]>
    </Native>
    <Native Name="DataTableGetWaveTarget" ReturnType="wavetarget" ArgumentList="bool global, string name">
         <![CDATA[native wavetarget   DataTableGetWaveTarget (bool global, string name);]]>
    </Native>
    <Variable Name="c_invalidDialogId" Type="int" Value="0">
         <![CDATA[const int c_invalidDialogId     = 0;]]>
    </Variable>
    <Native Name="DialogCreate" ReturnType="int" ArgumentList="int width, int height, int anchor, int offsetX, int offsetY, bool modal">
         <![CDATA[native int      DialogCreate (
                    int width,
                    int height,
                    int anchor,
                    int offsetX,
                    int offsetY,
                    bool modal
                );]]>
    </Native>
    <Native Name="DialogLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int      DialogLastCreated ();]]>
    </Native>
    <Native Name="DialogDestroy" ReturnType="void" ArgumentList="int dialog">
         <![CDATA[native void     DialogDestroy (int dialog);]]>
    </Native>
    <Native Name="DialogDestroyAll" ReturnType="void" ArgumentList="">
         <![CDATA[native void     DialogDestroyAll ();]]>
    </Native>
    <Native Name="DialogSetSubtitlePositionOverride" ReturnType="void" ArgumentList="int dialog">
         <![CDATA[native void		DialogSetSubtitlePositionOverride (int dialog);]]>
    </Native>
    <Native Name="DialogClearSubtitlePositionOverride" ReturnType="void" ArgumentList="">
         <![CDATA[native void		DialogClearSubtitlePositionOverride ();]]>
    </Native>
    <Native Name="DialogSetTitle" ReturnType="void" ArgumentList="int dialog, text title">
         <![CDATA[native void     DialogSetTitle (int dialog, text title);]]>
    </Native>
    <Native Name="DialogSetSize" ReturnType="void" ArgumentList="int dialog, int width, int height">
         <![CDATA[native void     DialogSetSize (int dialog, int width, int height);]]>
    </Native>
    <Native Name="DialogSetPosition" ReturnType="void" ArgumentList="int dialog, int anchor, int offsetX, int offsetY">
         <![CDATA[native void     DialogSetPosition (int dialog, int anchor, int offsetX, int offsetY);]]>
    </Native>
    <Native Name="DialogSetPositionRelative" ReturnType="void" ArgumentList="int dialog, int anchor, int relative, int relativeAnchor, int offsetX, int offsetY">
         <![CDATA[native void     DialogSetPositionRelative (int dialog, int anchor, int relative, int relativeAnchor, int offsetX, int offsetY);]]>
    </Native>
    <Native Name="DialogSetVisible" ReturnType="void" ArgumentList="int dialog, playergroup players, bool isVisible">
         <![CDATA[native void     DialogSetVisible (int dialog, playergroup players, bool isVisible);]]>
    </Native>
    <Native Name="DialogSetTransparency" ReturnType="void" ArgumentList="int dialog, fixed inTransparency">
         <![CDATA[native void     DialogSetTransparency (int dialog, fixed inTransparency);]]>
    </Native>
    <Native Name="DialogSetImage" ReturnType="void" ArgumentList="int dialog, string image">
         <![CDATA[native void     DialogSetImage (int dialog, string image);]]>
    </Native>
    <Native Name="DialogSetImageVisible" ReturnType="void" ArgumentList="int dialog, bool isVisible">
         <![CDATA[native void     DialogSetImageVisible (int dialog, bool isVisible);]]>
    </Native>
    <Native Name="DialogSetOffscreen" ReturnType="void" ArgumentList="int dialog, bool isOffscreen">
         <![CDATA[native void     DialogSetOffscreen (int dialog, bool isOffscreen);]]>
    </Native>
    <Native Name="DialogSetFullscreen" ReturnType="void" ArgumentList="int dialog, bool isFullscreen">
         <![CDATA[native void     DialogSetFullscreen (int dialog, bool isFullscreen);]]>
    </Native>
    <Native Name="DialogSetChannel" ReturnType="void" ArgumentList="int dialog, int channel">
         <![CDATA[native void     DialogSetChannel (int dialog, int channel);]]>
    </Native>
    <Native Name="DialogIsModal" ReturnType="bool" ArgumentList="int dialog">
         <![CDATA[native bool     DialogIsModal (int dialog);]]>
    </Native>
    <Native Name="DialogGetTitle" ReturnType="text" ArgumentList="int dialog">
         <![CDATA[native text     DialogGetTitle (int dialog);]]>
    </Native>
    <Native Name="DialogGetWidth" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetWidth (int dialog);]]>
    </Native>
    <Native Name="DialogGetHeight" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetHeight (int dialog);]]>
    </Native>
    <Native Name="DialogGetAnchor" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetAnchor (int dialog);]]>
    </Native>
    <Native Name="DialogGetRelativeDialog" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetRelativeDialog (int dialog);]]>
    </Native>
    <Native Name="DialogGetRelativeAnchor" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetRelativeAnchor (int dialog);]]>
    </Native>
    <Native Name="DialogGetOffsetX" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetOffsetX (int dialog);]]>
    </Native>
    <Native Name="DialogGetOffsetY" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetOffsetY (int dialog);]]>
    </Native>
    <Native Name="DialogIsVisible" ReturnType="bool" ArgumentList="int dialog, int player">
         <![CDATA[native bool     DialogIsVisible (int dialog, int player);]]>
    </Native>
    <Native Name="DialogGetTransparency" ReturnType="fixed" ArgumentList="int dialog">
         <![CDATA[native fixed    DialogGetTransparency (int dialog);]]>
    </Native>
    <Native Name="DialogGetImage" ReturnType="string" ArgumentList="int dialog">
         <![CDATA[native string   DialogGetImage (int dialog);]]>
    </Native>
    <Native Name="DialogIsImageVisible" ReturnType="bool" ArgumentList="int dialog">
         <![CDATA[native bool     DialogIsImageVisible (int dialog);]]>
    </Native>
    <Native Name="DialogIsOffscreen" ReturnType="bool" ArgumentList="int dialog">
         <![CDATA[native bool     DialogIsOffscreen (int dialog);]]>
    </Native>
    <Native Name="DialogIsFullscreen" ReturnType="bool" ArgumentList="int dialog">
         <![CDATA[native bool     DialogIsFullscreen (int dialog);]]>
    </Native>
    <Native Name="DialogGetChannel" ReturnType="int" ArgumentList="int dialog">
         <![CDATA[native int      DialogGetChannel (int dialog);]]>
    </Native>
    <Variable Name="c_triggerControlTypeInvalid" Type="int" Value="0">
         <![CDATA[const int c_triggerControlTypeInvalid                   = 0;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeLabel" Type="int" Value="1">
         <![CDATA[const int c_triggerControlTypeLabel                     = 1;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeImage" Type="int" Value="2">
         <![CDATA[const int c_triggerControlTypeImage                     = 2;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeButton" Type="int" Value="3">
         <![CDATA[const int c_triggerControlTypeButton                    = 3;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeCheckBox" Type="int" Value="4">
         <![CDATA[const int c_triggerControlTypeCheckBox                  = 4;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeListBox" Type="int" Value="5">
         <![CDATA[const int c_triggerControlTypeListBox                   = 5;]]>
    </Variable>
    <Variable Name="c_triggerControlTypePulldown" Type="int" Value="6">
         <![CDATA[const int c_triggerControlTypePulldown                  = 6;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeProgressBar" Type="int" Value="7">
         <![CDATA[const int c_triggerControlTypeProgressBar               = 7;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeSlider" Type="int" Value="8">
         <![CDATA[const int c_triggerControlTypeSlider                    = 8;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeEditBox" Type="int" Value="9">
         <![CDATA[const int c_triggerControlTypeEditBox                   = 9;]]>
    </Variable>
    <Variable Name="c_triggerControlTypeAchievement" Type="int" Value="11">
         <![CDATA[const int c_triggerControlTypeAchievement               = 11;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyInvalid" Type="int" Value="0">
         <![CDATA[const int c_triggerControlPropertyInvalid               = 0;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyText" Type="int" Value="1">
         <![CDATA[const int c_triggerControlPropertyText                  = 1;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyStyle" Type="int" Value="3">
         <![CDATA[const int c_triggerControlPropertyStyle                 = 3;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyImage" Type="int" Value="4">
         <![CDATA[const int c_triggerControlPropertyImage                 = 4;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyImageType" Type="int" Value="5">
         <![CDATA[const int c_triggerControlPropertyImageType             = 5;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyColor" Type="int" Value="6">
         <![CDATA[const int c_triggerControlPropertyColor                 = 6;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyChecked" Type="int" Value="7">
         <![CDATA[const int c_triggerControlPropertyChecked               = 7;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyMinValue" Type="int" Value="8">
         <![CDATA[const int c_triggerControlPropertyMinValue              = 8;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyMaxValue" Type="int" Value="9">
         <![CDATA[const int c_triggerControlPropertyMaxValue              = 9;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyValue" Type="int" Value="10">
         <![CDATA[const int c_triggerControlPropertyValue                 = 10;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyTooltip" Type="int" Value="11">
         <![CDATA[const int c_triggerControlPropertyTooltip               = 11;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyVisible" Type="int" Value="12">
         <![CDATA[const int c_triggerControlPropertyVisible               = 12;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyEnabled" Type="int" Value="13">
         <![CDATA[const int c_triggerControlPropertyEnabled               = 13;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyWidth" Type="int" Value="14">
         <![CDATA[const int c_triggerControlPropertyWidth                 = 14;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyHeight" Type="int" Value="15">
         <![CDATA[const int c_triggerControlPropertyHeight                = 15;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyAnchor" Type="int" Value="16">
         <![CDATA[const int c_triggerControlPropertyAnchor                = 16;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyRelative" Type="int" Value="17">
         <![CDATA[const int c_triggerControlPropertyRelative              = 17;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyRelativeAnchor" Type="int" Value="18">
         <![CDATA[const int c_triggerControlPropertyRelativeAnchor        = 18;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyOffsetX" Type="int" Value="19">
         <![CDATA[const int c_triggerControlPropertyOffsetX               = 19;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyOffsetY" Type="int" Value="20">
         <![CDATA[const int c_triggerControlPropertyOffsetY               = 20;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyEditText" Type="int" Value="21">
         <![CDATA[const int c_triggerControlPropertyEditText              = 21;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyItemCount" Type="int" Value="22">
         <![CDATA[const int c_triggerControlPropertyItemCount             = 22;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertySelectionIndex" Type="int" Value="23">
         <![CDATA[const int c_triggerControlPropertySelectionIndex        = 23;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyFile" Type="int" Value="24">
         <![CDATA[const int c_triggerControlPropertyFile                  = 24;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyOffscreen" Type="int" Value="25">
         <![CDATA[const int c_triggerControlPropertyOffscreen             = 25;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyChannel" Type="int" Value="26">
         <![CDATA[const int c_triggerControlPropertyChannel               = 26;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyFullDialog" Type="int" Value="27">
         <![CDATA[const int c_triggerControlPropertyFullDialog            = 27;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyTextWriteout" Type="int" Value="28">
         <![CDATA[const int c_triggerControlPropertyTextWriteout          = 28;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyTextWriteoutDuration" Type="int" Value="29">
         <![CDATA[const int c_triggerControlPropertyTextWriteoutDuration  = 29;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyBlendMode" Type="int" Value="30">
         <![CDATA[const int c_triggerControlPropertyBlendMode				= 30;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyHoverImage" Type="int" Value="31">
         <![CDATA[const int c_triggerControlPropertyHoverImage            = 31;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyTiled" Type="int" Value="32">
         <![CDATA[const int c_triggerControlPropertyTiled		            = 32;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyRotation" Type="int" Value="33">
         <![CDATA[const int c_triggerControlPropertyRotation              = 33;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyAchievement" Type="int" Value="34">
         <![CDATA[const int c_triggerControlPropertyAchievement           = 34;]]>
    </Variable>
    <Variable Name="c_triggerControlPropertyRenderPriority" Type="int" Value="35">
         <![CDATA[const int c_triggerControlPropertyRenderPriority        = 35;]]>
    </Variable>
    <Variable Name="c_triggerImageTypeNone" Type="int" Value="0">
         <![CDATA[const int c_triggerImageTypeNone                        = 0;]]>
    </Variable>
    <Variable Name="c_triggerImageTypeNormal" Type="int" Value="1">
         <![CDATA[const int c_triggerImageTypeNormal                      = 1;]]>
    </Variable>
    <Variable Name="c_triggerImageTypeBorder" Type="int" Value="2">
         <![CDATA[const int c_triggerImageTypeBorder                      = 2;]]>
    </Variable>
    <Variable Name="c_triggerImageTypeHorizontalBorder" Type="int" Value="3">
         <![CDATA[const int c_triggerImageTypeHorizontalBorder            = 3;]]>
    </Variable>
    <Variable Name="c_triggerImageTypeEndCap" Type="int" Value="4">
         <![CDATA[const int c_triggerImageTypeEndCap                      = 4;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeNormal" Type="int" Value="0">
         <![CDATA[const int c_triggerBlendModeNormal            = 0;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeMultiply" Type="int" Value="1">
         <![CDATA[const int c_triggerBlendModeMultiply          = 1;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeLighten" Type="int" Value="2">
         <![CDATA[const int c_triggerBlendModeLighten           = 2;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeDarken" Type="int" Value="3">
         <![CDATA[const int c_triggerBlendModeDarken            = 3;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeAdd" Type="int" Value="4">
         <![CDATA[const int c_triggerBlendModeAdd               = 4;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeSubtract" Type="int" Value="5">
         <![CDATA[const int c_triggerBlendModeSubtract          = 5;]]>
    </Variable>
    <Variable Name="c_triggerBlendModeAlpha" Type="int" Value="6">
         <![CDATA[const int c_triggerBlendModeAlpha             = 6;]]>
    </Variable>
    <Variable Name="c_invalidDialogControlId" Type="int" Value="0">
         <![CDATA[const int c_invalidDialogControlId                      = 0;]]>
    </Variable>
    <Variable Name="c_dialogControlItemNone" Type="int" Value="-1">
         <![CDATA[const int c_dialogControlItemNone                       = -1;]]>
    </Variable>
    <Native Name="DialogControlCreate" ReturnType="int" ArgumentList="int dialog, int type">
         <![CDATA[native int      DialogControlCreate (int dialog, int type);]]>
    </Native>
    <Native Name="DialogControlCreateFromTemplate" ReturnType="int" ArgumentList="int dialog, int type, string inTemplate">
         <![CDATA[native int      DialogControlCreateFromTemplate (int dialog, int type, string inTemplate);]]>
    </Native>
    <Native Name="DialogControlLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int      DialogControlLastCreated ();]]>
    </Native>
    <Native Name="DialogControlDestroy" ReturnType="void" ArgumentList="int control">
         <![CDATA[native void     DialogControlDestroy (int control);]]>
    </Native>
    <Native Name="DialogControlDestroyAll" ReturnType="void" ArgumentList="int dialog">
         <![CDATA[native void     DialogControlDestroyAll (int dialog);]]>
    </Native>
    <Native Name="DialogControlSetSize" ReturnType="void" ArgumentList="int control, playergroup players, int width, int height">
         <![CDATA[native void     DialogControlSetSize (int control, playergroup players, int width, int height);]]>
    </Native>
    <Native Name="DialogControlSetPosition" ReturnType="void" ArgumentList="int control, playergroup players, int anchor, int offsetX, int offsetY">
         <![CDATA[native void     DialogControlSetPosition (int control, playergroup players, int anchor, int offsetX, int offsetY);]]>
    </Native>
    <Native Name="DialogControlSetPositionRelative" ReturnType="void" ArgumentList="int control, playergroup players, int anchor, int relative, int relativeAnchor, int offsetX, int offsetY">
         <![CDATA[native void     DialogControlSetPositionRelative (int control, playergroup players, int anchor, int relative, int relativeAnchor, int offsetX, int offsetY);]]>
    </Native>
    <Native Name="DialogControlSetVisible" ReturnType="void" ArgumentList="int control, playergroup players, bool isVisible">
         <![CDATA[native void     DialogControlSetVisible (int control, playergroup players, bool isVisible);]]>
    </Native>
    <Native Name="DialogControlSetEnabled" ReturnType="void" ArgumentList="int control, playergroup players, bool isEnabled">
         <![CDATA[native void     DialogControlSetEnabled (int control, playergroup players, bool isEnabled);]]>
    </Native>
    <Native Name="DialogControlSetFullDialog" ReturnType="void" ArgumentList="int control, playergroup players, bool isFullDialog">
         <![CDATA[native void     DialogControlSetFullDialog (int control, playergroup players, bool isFullDialog);]]>
    </Native>
    <Native Name="DialogControlFadeTransparency" ReturnType="void" ArgumentList="int control, playergroup players, fixed fadeTime, fixed inTargetTransparency">
         <![CDATA[native void     DialogControlFadeTransparency  (int control, playergroup players, fixed fadeTime, fixed inTargetTransparency);]]>
    </Native>
    <Native Name="DialogControlGetType" ReturnType="int" ArgumentList="int control">
         <![CDATA[native int      DialogControlGetType (int control);]]>
    </Native>
    <Native Name="DialogControlGetWidth" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetWidth (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetHeight" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetHeight (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetAnchor" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetAnchor (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetRelativeControl" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetRelativeControl (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetRelativeAnchor" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetRelativeAnchor (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetOffsetX" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetOffsetX (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetOffsetY" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetOffsetY (int control, int player);]]>
    </Native>
    <Native Name="DialogControlIsVisible" ReturnType="bool" ArgumentList="int control, int player">
         <![CDATA[native bool     DialogControlIsVisible (int control, int player);]]>
    </Native>
    <Native Name="DialogControlIsEnabled" ReturnType="bool" ArgumentList="int control, int player">
         <![CDATA[native bool     DialogControlIsEnabled (int control, int player);]]>
    </Native>
    <Native Name="DialogControlIsFullDialog" ReturnType="bool" ArgumentList="int control, int player">
         <![CDATA[native bool     DialogControlIsFullDialog (int control, int player);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsText" ReturnType="void" ArgumentList="int control, int property, playergroup players, text value">
         <![CDATA[native void     DialogControlSetPropertyAsText (int control, int property, playergroup players, text value);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsString" ReturnType="void" ArgumentList="int control, int property, playergroup players, string value">
         <![CDATA[native void     DialogControlSetPropertyAsString (int control, int property, playergroup players, string value);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsInt" ReturnType="void" ArgumentList="int control, int property, playergroup players, int value">
         <![CDATA[native void     DialogControlSetPropertyAsInt (int control, int property, playergroup players, int value);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsFixed" ReturnType="void" ArgumentList="int control, int property, playergroup players, fixed value">
         <![CDATA[native void     DialogControlSetPropertyAsFixed (int control, int property, playergroup players, fixed value);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsBool" ReturnType="void" ArgumentList="int control, int property, playergroup players, bool value">
         <![CDATA[native void     DialogControlSetPropertyAsBool (int control, int property, playergroup players, bool value);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsColor" ReturnType="void" ArgumentList="int control, int property, playergroup players, color value">
         <![CDATA[native void     DialogControlSetPropertyAsColor (int control, int property, playergroup players, color value);]]>
    </Native>
    <Native Name="DialogControlSetPropertyAsControl" ReturnType="void" ArgumentList="int control, int property, playergroup players, int value">
         <![CDATA[native void     DialogControlSetPropertyAsControl (int control, int property, playergroup players, int value);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsText" ReturnType="text" ArgumentList="int control, int property, int player">
         <![CDATA[native text     DialogControlGetPropertyAsText (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsString" ReturnType="string" ArgumentList="int control, int property, int player">
         <![CDATA[native string   DialogControlGetPropertyAsString (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsInt" ReturnType="int" ArgumentList="int control, int property, int player">
         <![CDATA[native int      DialogControlGetPropertyAsInt (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsFixed" ReturnType="fixed" ArgumentList="int control, int property, int player">
         <![CDATA[native fixed    DialogControlGetPropertyAsFixed (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsBool" ReturnType="bool" ArgumentList="int control, int property, int player">
         <![CDATA[native bool     DialogControlGetPropertyAsBool (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsColor" ReturnType="color" ArgumentList="int control, int property, int player">
         <![CDATA[native color    DialogControlGetPropertyAsColor (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlGetPropertyAsControl" ReturnType="int" ArgumentList="int control, int property, int player">
         <![CDATA[native int      DialogControlGetPropertyAsControl (int control, int property, int player);]]>
    </Native>
    <Native Name="DialogControlAddItem" ReturnType="void" ArgumentList="int control, playergroup players, text value">
         <![CDATA[native void     DialogControlAddItem (int control, playergroup players, text value);]]>
    </Native>
    <Native Name="DialogControlRemoveItem" ReturnType="void" ArgumentList="int control, playergroup players, int index">
         <![CDATA[native void     DialogControlRemoveItem (int control, playergroup players, int index);]]>
    </Native>
    <Native Name="DialogControlRemoveAllItems" ReturnType="void" ArgumentList="int control, playergroup players">
         <![CDATA[native void     DialogControlRemoveAllItems (int control, playergroup players);]]>
    </Native>
    <Native Name="DialogControlSelectItem" ReturnType="void" ArgumentList="int control, playergroup players, int index">
         <![CDATA[native void     DialogControlSelectItem (int control, playergroup players, int index);]]>
    </Native>
    <Native Name="DialogControlGetItemCount" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetItemCount (int control, int player);]]>
    </Native>
    <Native Name="DialogControlGetSelectedItem" ReturnType="int" ArgumentList="int control, int player">
         <![CDATA[native int      DialogControlGetSelectedItem (int control, int player);]]>
    </Native>
    <Native Name="DialogControlInvokeAsText" ReturnType="void" ArgumentList="int control, playergroup players, string method, text param1, text param2, text param3, text param4">
         <![CDATA[native void     DialogControlInvokeAsText (int control, playergroup players, string method, text param1, text param2, text param3, text param4);]]>
    </Native>
    <Native Name="DialogControlInvokeAsString" ReturnType="void" ArgumentList="int control, playergroup players, string method, string param1, string param2, string param3, string param4">
         <![CDATA[native void     DialogControlInvokeAsString (int control, playergroup players, string method, string param1, string param2, string param3, string param4);]]>
    </Native>
    <Variable Name="c_dialogControlAny" Type="int" Value="-1">
         <![CDATA[const int c_dialogControlAny = -1;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeAny" Type="int" Value="-1">
         <![CDATA[const int c_triggerControlEventTypeAny                       = -1;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeClick" Type="int" Value="0">
         <![CDATA[const int c_triggerControlEventTypeClick                     = 0;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeChecked" Type="int" Value="1">
         <![CDATA[const int c_triggerControlEventTypeChecked                   = 1;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeValueChanged" Type="int" Value="2">
         <![CDATA[const int c_triggerControlEventTypeValueChanged              = 2;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeSelectionChanged" Type="int" Value="3">
         <![CDATA[const int c_triggerControlEventTypeSelectionChanged          = 3;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeSelectionDoubleClicked" Type="int" Value="4">
         <![CDATA[const int c_triggerControlEventTypeSelectionDoubleClicked    = 4;]]>
    </Variable>
    <Variable Name="c_triggerControlEventTypeTextChanged" Type="int" Value="5">
         <![CDATA[const int c_triggerControlEventTypeTextChanged               = 5;]]>
    </Variable>
    <Native Name="TriggerAddEventDialogControl" ReturnType="void" ArgumentList="trigger t, int player, int control, int eventType">
         <![CDATA[native void     TriggerAddEventDialogControl (trigger t, int player, int control, int eventType);]]>
    </Native>
    <Native Name="EventDialogControl" ReturnType="int" ArgumentList="">
         <![CDATA[native int      EventDialogControl ();]]>
    </Native>
    <Native Name="EventDialogControlEventType" ReturnType="int" ArgumentList="">
         <![CDATA[native int      EventDialogControlEventType ();]]>
    </Native>
    <Native Name="GameTimeOfDayGet" ReturnType="string" ArgumentList="">
         <![CDATA[native string   GameTimeOfDayGet ();]]>
    </Native>
    <Native Name="GameTimeOfDaySet" ReturnType="void" ArgumentList="string x">
         <![CDATA[native void     GameTimeOfDaySet (string x);]]>
    </Native>
    <Native Name="GameTimeOfDayGetLength" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed    GameTimeOfDayGetLength ();]]>
    </Native>
    <Native Name="GameTimeOfDaySetLength" ReturnType="void" ArgumentList="fixed inSecs">
         <![CDATA[native void     GameTimeOfDaySetLength (fixed inSecs);]]>
    </Native>
    <Native Name="GameTimeOfDayPause" ReturnType="void" ArgumentList="bool inPause">
         <![CDATA[native void     GameTimeOfDayPause (bool inPause);]]>
    </Native>
    <Native Name="GameTimeOfDayIsPaused" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     GameTimeOfDayIsPaused ();]]>
    </Native>
    <Native Name="CreepAdjacent" ReturnType="int" ArgumentList="point inPos">
         <![CDATA[native int      CreepAdjacent (point inPos);]]>
    </Native>
    <Native Name="CreepIsPresent" ReturnType="bool" ArgumentList="point inPos">
         <![CDATA[native bool     CreepIsPresent (point inPos);]]>
    </Native>
    <Native Name="CreepModify" ReturnType="void" ArgumentList="point inPos, fixed inRadius, bool inAdd, bool inPermanent">
         <![CDATA[native void     CreepModify (point inPos, fixed inRadius, bool inAdd, bool inPermanent);]]>
    </Native>
    <Variable Name="c_creepSpeedGrowth" Type="int" Value="0">
         <![CDATA[const int c_creepSpeedGrowth    = 0;]]>
    </Variable>
    <Variable Name="c_creepSpeedDecay" Type="int" Value="1">
         <![CDATA[const int c_creepSpeedDecay     = 1;]]>
    </Variable>
    <Variable Name="c_creepSpeedBlend" Type="int" Value="2">
         <![CDATA[const int c_creepSpeedBlend     = 2;]]>
    </Variable>
    <Native Name="CreepSetSpeed" ReturnType="void" ArgumentList="int inType, fixed inPercent">
         <![CDATA[native void     CreepSetSpeed (int inType, fixed inPercent);]]>
    </Native>
    <Variable Name="c_pathingNoPathing" Type="int" Value="0">
         <![CDATA[const int c_pathingNoPathing    = 0;]]>
    </Variable>
    <Variable Name="c_pathingNoBuilding" Type="int" Value="1">
         <![CDATA[const int c_pathingNoBuilding   = 1;]]>
    </Variable>
    <Variable Name="c_pathingGround" Type="int" Value="2">
         <![CDATA[const int c_pathingGround       = 2;]]>
    </Variable>
    <Native Name="PathingModify" ReturnType="void" ArgumentList="region inArea, int inType, bool inAdd">
         <![CDATA[native void     PathingModify (region inArea, int inType, bool inAdd);]]>
    </Native>
    <Native Name="PathingUpdate" ReturnType="void" ArgumentList="">
         <![CDATA[native void     PathingUpdate ();]]>
    </Native>
    <Native Name="PathingReset" ReturnType="void" ArgumentList="">
         <![CDATA[native void     PathingReset ();]]>
    </Native>
    <Native Name="PowerLevel" ReturnType="int" ArgumentList="int inPlayer, point inPos">
         <![CDATA[native int      PowerLevel (int inPlayer, point inPos);]]>
    </Native>
    <Native Name="PowerIsProvidedBy" ReturnType="bool" ArgumentList="int inPlayer, point inPos, unit inSource, int inMinLevel">
         <![CDATA[native bool     PowerIsProvidedBy (int inPlayer, point inPos, unit inSource, int inMinLevel);]]>
    </Native>
    <Native Name="CliffLevel" ReturnType="int" ArgumentList="point inPos">
         <![CDATA[native int      CliffLevel (point inPos);]]>
    </Native>
    <Native Name="WorldHeight" ReturnType="fixed" ArgumentList="int inType, point inPos">
         <![CDATA[native fixed    WorldHeight (int inType, point inPos);]]>
    </Native>
    <Variable Name="c_backgroundFixed" Type="int" Value="0">
         <![CDATA[const int c_backgroundFixed     = 0;]]>
    </Variable>
    <Variable Name="c_backgroundTerrain" Type="int" Value="1">
         <![CDATA[const int c_backgroundTerrain   = 1;]]>
    </Variable>
    <Native Name="GameSetLighting" ReturnType="void" ArgumentList="string inId, fixed inBlendTime">
         <![CDATA[native void     GameSetLighting (string inId, fixed inBlendTime);]]>
    </Native>
    <Native Name="GameSetToDLighting" ReturnType="void" ArgumentList="string inId">
         <![CDATA[native void     GameSetToDLighting (string inId);]]>
    </Native>
    <Native Name="SelectMainShadowLight" ReturnType="void" ArgumentList="string inId">
         <![CDATA[native void     SelectMainShadowLight (string inId);]]>
    </Native>
    <Native Name="GameSetBackground" ReturnType="void" ArgumentList="int inType, string inModel, fixed inAnimSpeed">
         <![CDATA[native void     GameSetBackground (int inType, string inModel, fixed inAnimSpeed);]]>
    </Native>
    <Native Name="GameDestroyEffects" ReturnType="void" ArgumentList="point pos, fixed radius, int maxCount, string effectType">
         <![CDATA[native void     GameDestroyEffects (point pos, fixed radius, int maxCount, string effectType);]]>
    </Native>
    <Native Name="TerrainShowRegion" ReturnType="void" ArgumentList="region inArea, bool inShow">
         <![CDATA[native void     TerrainShowRegion (region inArea, bool inShow);]]>
    </Native>
    <Variable Name="c_wtcLinear" Type="int" Value="0">
         <![CDATA[const int c_wtcLinear       = 0;]]>
    </Variable>
    <Variable Name="c_wtcSine" Type="int" Value="1">
         <![CDATA[const int c_wtcSine         = 1;]]>
    </Variable>
    <Variable Name="c_wtcExponential" Type="int" Value="2">
         <![CDATA[const int c_wtcExponential  = 2;]]>
    </Variable>
    <Variable Name="c_wtcSquareRoot" Type="int" Value="3">
         <![CDATA[const int c_wtcSquareRoot   = 3;]]>
    </Variable>
    <Native Name="WaterSetState" ReturnType="void" ArgumentList="string inWater, fixed inDuration, int inMorphType">
         <![CDATA[native void     WaterSetState (string inWater, fixed inDuration, int inMorphType);]]>
    </Native>
    <Native Name="FogSetEnabled" ReturnType="void" ArgumentList="bool f">
         <![CDATA[native void     FogSetEnabled (bool f);]]>
    </Native>
    <Native Name="FogSetDensity" ReturnType="void" ArgumentList="fixed d">
         <![CDATA[native void     FogSetDensity (fixed d);]]>
    </Native>
    <Native Name="FogSetColor" ReturnType="void" ArgumentList="color c">
         <![CDATA[native void     FogSetColor (color c);]]>
    </Native>
    <Native Name="FogSetFallOff" ReturnType="void" ArgumentList="fixed f">
         <![CDATA[native void     FogSetFallOff (fixed f);]]>
    </Native>
    <Native Name="FogSetStartHeight" ReturnType="void" ArgumentList="fixed h">
         <![CDATA[native void     FogSetStartHeight (fixed h);]]>
    </Native>
    <Variable Name="c_environmentAll" Type="int" Value="0">
         <![CDATA[const int c_environmentAll                  = 0;]]>
    </Variable>
    <Variable Name="c_environmentTerrain" Type="int" Value="1">
         <![CDATA[const int c_environmentTerrain              = 1;]]>
    </Variable>
    <Variable Name="c_environmentWater" Type="int" Value="2">
         <![CDATA[const int c_environmentWater                = 2;]]>
    </Variable>
    <Variable Name="c_environmentDoodads" Type="int" Value="3">
         <![CDATA[const int c_environmentDoodads              = 3;]]>
    </Variable>
    <Variable Name="c_environmentBackgroundFixed" Type="int" Value="4">
         <![CDATA[const int c_environmentBackgroundFixed      = 4;]]>
    </Variable>
    <Variable Name="c_environmentBackgroundTerrain" Type="int" Value="5">
         <![CDATA[const int c_environmentBackgroundTerrain    = 5;]]>
    </Variable>
    <Native Name="EnvironmentShow" ReturnType="void" ArgumentList="int inType, bool inShow">
         <![CDATA[native void     EnvironmentShow (int inType, bool inShow);]]>
    </Native>
    <Native Name="ConsoleCommand" ReturnType="bool" ArgumentList="string inText, bool allowDefault, bool allowMacros">
         <![CDATA[native bool     ConsoleCommand (string inText, bool allowDefault, bool allowMacros);]]>
    </Native>
    <Native Name="GameIsDebugOptionSet" ReturnType="bool" ArgumentList="string inOptionName, int player">
         <![CDATA[native bool		GameIsDebugOptionSet (string inOptionName, int player);]]>
    </Native>
    <Variable Name="c_gameSpeedSlower" Type="int" Value="0">
         <![CDATA[const int c_gameSpeedSlower     = 0;]]>
    </Variable>
    <Variable Name="c_gameSpeedSlow" Type="int" Value="1">
         <![CDATA[const int c_gameSpeedSlow       = 1;]]>
    </Variable>
    <Variable Name="c_gameSpeedNormal" Type="int" Value="2">
         <![CDATA[const int c_gameSpeedNormal     = 2;]]>
    </Variable>
    <Variable Name="c_gameSpeedFast" Type="int" Value="3">
         <![CDATA[const int c_gameSpeedFast       = 3;]]>
    </Variable>
    <Variable Name="c_gameSpeedFaster" Type="int" Value="4">
         <![CDATA[const int c_gameSpeedFaster     = 4;]]>
    </Variable>
    <Native Name="GameMapName" ReturnType="text" ArgumentList="">
         <![CDATA[native text     GameMapName ();]]>
    </Native>
    <Native Name="GameMapDescription" ReturnType="text" ArgumentList="">
         <![CDATA[native text     GameMapDescription ();]]>
    </Native>
    <Native Name="GameGetSpeed" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed    GameGetSpeed ();]]>
    </Native>
    <Native Name="GameSetSpeedValue" ReturnType="void" ArgumentList="int speed">
         <![CDATA[native void     GameSetSpeedValue (int speed);]]>
    </Native>
    <Native Name="GameGetSpeedValue" ReturnType="int" ArgumentList="">
         <![CDATA[native int      GameGetSpeedValue ();]]>
    </Native>
    <Native Name="GameSetSpeedValueMinimum" ReturnType="void" ArgumentList="int speed">
         <![CDATA[native void     GameSetSpeedValueMinimum (int speed);]]>
    </Native>
    <Native Name="GameGetSpeedValueMinimum" ReturnType="int" ArgumentList="">
         <![CDATA[native int      GameGetSpeedValueMinimum ();]]>
    </Native>
    <Native Name="GameSetSpeedLocked" ReturnType="void" ArgumentList="bool isLocked">
         <![CDATA[native void     GameSetSpeedLocked (bool isLocked);]]>
    </Native>
    <Native Name="GameIsSpeedLocked" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     GameIsSpeedLocked ();]]>
    </Native>
    <Native Name="GameAttributeGameValue" ReturnType="string" ArgumentList="string name">
         <![CDATA[native string   GameAttributeGameValue (string name);]]>
    </Native>
    <Native Name="GameAttributePlayerValue" ReturnType="string" ArgumentList="string name, int player">
         <![CDATA[native string   GameAttributePlayerValue (string name, int player);]]>
    </Native>
    <Native Name="GameSetSeedLocked" ReturnType="void" ArgumentList="bool locked">
         <![CDATA[native void     GameSetSeedLocked (bool locked);]]>
    </Native>
    <Native Name="GameIsSeedLocked" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     GameIsSeedLocked ();]]>
    </Native>
    <Native Name="GameSetAbsoluteTimeRemaining" ReturnType="void" ArgumentList="fixed inTime">
         <![CDATA[native void     GameSetAbsoluteTimeRemaining (fixed inTime);]]>
    </Native>
    <Native Name="GameGetAbsoluteTimeRemaining" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed    GameGetAbsoluteTimeRemaining ();]]>
    </Native>
    <Native Name="GameSetAbsoluteTimeRemainingPaused" ReturnType="void" ArgumentList="bool inPaused">
         <![CDATA[native void     GameSetAbsoluteTimeRemainingPaused (bool inPaused);]]>
    </Native>
    <Native Name="GameGetAbsoluteTimeRemainingPaused" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     GameGetAbsoluteTimeRemainingPaused ();]]>
    </Native>
    <Native Name="GamePauseAllCharges" ReturnType="void" ArgumentList="bool inPaused">
         <![CDATA[native void     GamePauseAllCharges (bool inPaused);]]>
    </Native>
    <Native Name="GamePauseAllCooldowns" ReturnType="void" ArgumentList="bool inPaused">
         <![CDATA[native void     GamePauseAllCooldowns (bool inPaused);]]>
    </Native>
    <Native Name="GameAddChargeRegen" ReturnType="void" ArgumentList="string inCharge, fixed inVal">
         <![CDATA[native void     GameAddChargeRegen (string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="GameGetChargeRegen" ReturnType="fixed" ArgumentList="string inCharge">
         <![CDATA[native fixed    GameGetChargeRegen (string inCharge);]]>
    </Native>
    <Native Name="GameAddChargeUsed" ReturnType="void" ArgumentList="string inCharge, fixed inVal">
         <![CDATA[native void     GameAddChargeUsed (string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="GameGetChargeUsed" ReturnType="fixed" ArgumentList="string inCharge">
         <![CDATA[native fixed    GameGetChargeUsed (string inCharge);]]>
    </Native>
    <Native Name="GameAddCooldown" ReturnType="void" ArgumentList="string inCooldown, fixed inVal">
         <![CDATA[native void     GameAddCooldown (string inCooldown, fixed inVal);]]>
    </Native>
    <Native Name="GameGetCooldown" ReturnType="fixed" ArgumentList="string inCooldown">
         <![CDATA[native fixed    GameGetCooldown (string inCooldown);]]>
    </Native>
    <Native Name="GameIsTestMap" ReturnType="bool" ArgumentList="bool inAuto">
         <![CDATA[native bool     GameIsTestMap (bool inAuto);]]>
    </Native>
    <Native Name="GameSetNextMap" ReturnType="void" ArgumentList="string inMap">
         <![CDATA[native void     GameSetNextMap (string inMap);]]>
    </Native>
    <Native Name="SetNextMissionDifficulty" ReturnType="void" ArgumentList="playergroup inPlayerGroup, int inDifficultyLevel">
         <![CDATA[native void     SetNextMissionDifficulty (playergroup inPlayerGroup, int inDifficultyLevel);]]>
    </Native>
    <Native Name="GameIsTransitionMap" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     GameIsTransitionMap ();]]>
    </Native>
    <Native Name="GameSetTransitionMap" ReturnType="void" ArgumentList="string transitionMap">
         <![CDATA[native void     GameSetTransitionMap (string transitionMap);]]>
    </Native>
    <Native Name="GameTerrainSet" ReturnType="string" ArgumentList="">
         <![CDATA[native string   GameTerrainSet ();]]>
    </Native>
    <Native Name="GameWaitForResourcesToComplete" ReturnType="void" ArgumentList="">
         <![CDATA[native void     GameWaitForResourcesToComplete ();]]>
    </Native>
    <Variable Name="c_gameOverVictory" Type="int" Value="0">
         <![CDATA[const int c_gameOverVictory = 0;]]>
    </Variable>
    <Variable Name="c_gameOverDefeat" Type="int" Value="1">
         <![CDATA[const int c_gameOverDefeat  = 1;]]>
    </Variable>
    <Variable Name="c_gameOverTie" Type="int" Value="2">
         <![CDATA[const int c_gameOverTie     = 2;]]>
    </Variable>
    <Native Name="GameOver" ReturnType="void" ArgumentList="int player, int type, bool showDialog, bool showScore">
         <![CDATA[native void     GameOver (int player, int type, bool showDialog, bool showScore);]]>
    </Native>
    <Native Name="RestartGame" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void		RestartGame (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="TriggerAddEventMapInit" ReturnType="void" ArgumentList="trigger t">
         <![CDATA[native void     TriggerAddEventMapInit (trigger t);]]>
    </Native>
    <Native Name="TriggerAddEventSaveGame" ReturnType="void" ArgumentList="trigger t">
         <![CDATA[native void     TriggerAddEventSaveGame (trigger t);]]>
    </Native>
    <Native Name="TriggerAddEventChatMessage" ReturnType="void" ArgumentList="trigger t, int player, string inText, bool exact">
         <![CDATA[native void     TriggerAddEventChatMessage (trigger t, int player, string inText, bool exact);]]>
    </Native>
    <Native Name="EventChatMessage" ReturnType="string" ArgumentList="bool matchedOnly">
         <![CDATA[native string   EventChatMessage (bool matchedOnly);]]>
    </Native>
    <Native Name="IntLoopBegin" ReturnType="void" ArgumentList="int start, int end">
         <![CDATA[native void IntLoopBegin (int start, int end);]]>
    </Native>
    <Native Name="IntLoopStep" ReturnType="void" ArgumentList="">
         <![CDATA[native void IntLoopStep ();]]>
    </Native>
    <Native Name="IntLoopDone" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool IntLoopDone ();]]>
    </Native>
    <Native Name="IntLoopCurrent" ReturnType="int" ArgumentList="">
         <![CDATA[native int  IntLoopCurrent ();]]>
    </Native>
    <Native Name="IntLoopEnd" ReturnType="void" ArgumentList="">
         <![CDATA[native void IntLoopEnd ();]]>
    </Native>
    <Native Name="PlayerGroupLoopBegin" ReturnType="void" ArgumentList="playergroup g">
         <![CDATA[native void PlayerGroupLoopBegin (playergroup g);]]>
    </Native>
    <Native Name="PlayerGroupLoopStep" ReturnType="void" ArgumentList="">
         <![CDATA[native void PlayerGroupLoopStep ();]]>
    </Native>
    <Native Name="PlayerGroupLoopDone" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool PlayerGroupLoopDone ();]]>
    </Native>
    <Native Name="PlayerGroupLoopCurrent" ReturnType="int" ArgumentList="">
         <![CDATA[native int  PlayerGroupLoopCurrent ();]]>
    </Native>
    <Native Name="PlayerGroupLoopEnd" ReturnType="void" ArgumentList="">
         <![CDATA[native void PlayerGroupLoopEnd ();]]>
    </Native>
    <Native Name="UnitGroupLoopBegin" ReturnType="void" ArgumentList="unitgroup g">
         <![CDATA[native void UnitGroupLoopBegin (unitgroup g);]]>
    </Native>
    <Native Name="UnitGroupLoopStep" ReturnType="void" ArgumentList="">
         <![CDATA[native void UnitGroupLoopStep ();]]>
    </Native>
    <Native Name="UnitGroupLoopDone" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool UnitGroupLoopDone ();]]>
    </Native>
    <Native Name="UnitGroupLoopCurrent" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit UnitGroupLoopCurrent ();]]>
    </Native>
    <Native Name="UnitGroupLoopEnd" ReturnType="void" ArgumentList="">
         <![CDATA[native void UnitGroupLoopEnd ();]]>
    </Native>
    <Native Name="Marker" ReturnType="marker" ArgumentList="string link">
         <![CDATA[native marker   Marker (string link);]]>
    </Native>
    <Native Name="MarkerCastingPlayer" ReturnType="marker" ArgumentList="string link, int player">
         <![CDATA[native marker   MarkerCastingPlayer (string link, int player);]]>
    </Native>
    <Native Name="MarkerCastingUnit" ReturnType="marker" ArgumentList="string link, unit u">
         <![CDATA[native marker   MarkerCastingUnit (string link, unit u);]]>
    </Native>
    <Native Name="MarkerSetCastingPlayer" ReturnType="void" ArgumentList="marker m, int player">
         <![CDATA[native void     MarkerSetCastingPlayer (marker m, int player);]]>
    </Native>
    <Native Name="MarkerGetCastingPlayer" ReturnType="int" ArgumentList="marker m">
         <![CDATA[native int      MarkerGetCastingPlayer (marker m);]]>
    </Native>
    <Native Name="MarkerSetCastingUnit" ReturnType="void" ArgumentList="marker m, unit u">
         <![CDATA[native void     MarkerSetCastingUnit (marker m, unit u);]]>
    </Native>
    <Native Name="MarkerGetCastingUnit" ReturnType="unit" ArgumentList="marker m">
         <![CDATA[native unit     MarkerGetCastingUnit (marker m);]]>
    </Native>
    <Native Name="MarkerSetMatchFlag" ReturnType="void" ArgumentList="marker m, int flag, bool state">
         <![CDATA[native void     MarkerSetMatchFlag (marker m, int flag, bool state);]]>
    </Native>
    <Native Name="MarkerGetMatchFlag" ReturnType="bool" ArgumentList="marker m, int flag">
         <![CDATA[native bool     MarkerGetMatchFlag (marker m, int flag);]]>
    </Native>
    <Native Name="MarkerSetMismatchFlag" ReturnType="void" ArgumentList="marker m, int flag, bool state">
         <![CDATA[native void     MarkerSetMismatchFlag (marker m, int flag, bool state);]]>
    </Native>
    <Native Name="MarkerGetMismatchFlag" ReturnType="bool" ArgumentList="marker m, int flag">
         <![CDATA[native bool     MarkerGetMismatchFlag (marker m, int flag);]]>
    </Native>
    <Native Name="SquareRoot" ReturnType="fixed" ArgumentList="fixed x">
         <![CDATA[native fixed SquareRoot (fixed x);]]>
    </Native>
    <Native Name="Pow" ReturnType="fixed" ArgumentList="fixed x, fixed power">
         <![CDATA[native fixed Pow (fixed x, fixed power);]]>
    </Native>
    <Native Name="ModF" ReturnType="fixed" ArgumentList="fixed x, fixed m">
         <![CDATA[native fixed ModF (fixed x, fixed m);]]>
    </Native>
    <Native Name="MinF" ReturnType="fixed" ArgumentList="fixed x1, fixed x2">
         <![CDATA[native fixed MinF (fixed x1, fixed x2);]]>
    </Native>
    <Native Name="MaxF" ReturnType="fixed" ArgumentList="fixed x1, fixed x2">
         <![CDATA[native fixed MaxF (fixed x1, fixed x2);]]>
    </Native>
    <Native Name="AbsF" ReturnType="fixed" ArgumentList="fixed x">
         <![CDATA[native fixed AbsF (fixed x);]]>
    </Native>
    <Native Name="ModI" ReturnType="int" ArgumentList="int x, int m">
         <![CDATA[native int   ModI (int x, int m);]]>
    </Native>
    <Native Name="MinI" ReturnType="int" ArgumentList="int x1, int x2">
         <![CDATA[native int   MinI (int x1, int x2);]]>
    </Native>
    <Native Name="MaxI" ReturnType="int" ArgumentList="int x1, int x2">
         <![CDATA[native int   MaxI (int x1, int x2);]]>
    </Native>
    <Native Name="AbsI" ReturnType="int" ArgumentList="int x">
         <![CDATA[native int   AbsI (int x);]]>
    </Native>
    <Native Name="Sin" ReturnType="fixed" ArgumentList="fixed degrees">
         <![CDATA[native fixed Sin (fixed degrees);]]>
    </Native>
    <Native Name="Cos" ReturnType="fixed" ArgumentList="fixed degrees">
         <![CDATA[native fixed Cos (fixed degrees);]]>
    </Native>
    <Native Name="Tan" ReturnType="fixed" ArgumentList="fixed degrees">
         <![CDATA[native fixed Tan (fixed degrees);]]>
    </Native>
    <Native Name="ASin" ReturnType="fixed" ArgumentList="fixed x">
         <![CDATA[native fixed ASin (fixed x);]]>
    </Native>
    <Native Name="ACos" ReturnType="fixed" ArgumentList="fixed x">
         <![CDATA[native fixed ACos (fixed x);]]>
    </Native>
    <Native Name="ATan" ReturnType="fixed" ArgumentList="fixed x">
         <![CDATA[native fixed ATan (fixed x);]]>
    </Native>
    <Native Name="ATan2" ReturnType="fixed" ArgumentList="fixed y, fixed x">
         <![CDATA[native fixed ATan2 (fixed y, fixed x);]]>
    </Native>
    <Native Name="RandomInt" ReturnType="int" ArgumentList="int min, int max">
         <![CDATA[native int RandomInt (int min, int max);]]>
    </Native>
    <Native Name="RandomFixed" ReturnType="fixed" ArgumentList="fixed min, fixed max">
         <![CDATA[native fixed RandomFixed (fixed min, fixed max);]]>
    </Native>
    <Function Name="OneIn" ReturnType="bool" ArgumentList="int value">
         <![CDATA[bool OneIn (int value) { return RandomInt(1, value) == 1; }]]>
    </Function>
    <Native Name="MeleeInitResourcesForPlayer" ReturnType="void" ArgumentList="int player, string race">
         <![CDATA[native void     MeleeInitResourcesForPlayer (int player, string race);]]>
    </Native>
    <Native Name="MeleeInitResources" ReturnType="void" ArgumentList="">
         <![CDATA[native void     MeleeInitResources ();]]>
    </Native>
    <Native Name="MeleeInitUnitsForPlayer" ReturnType="void" ArgumentList="int player, string race, point position">
         <![CDATA[native void     MeleeInitUnitsForPlayer (int player, string race, point position);]]>
    </Native>
    <Native Name="MeleeInitUnits" ReturnType="void" ArgumentList="">
         <![CDATA[native void     MeleeInitUnits ();]]>
    </Native>
    <Native Name="MeleeInitAI" ReturnType="void" ArgumentList="">
         <![CDATA[native void     MeleeInitAI ();]]>
    </Native>
    <Variable Name="c_meleeOptionReveal" Type="int" Value="0">
         <![CDATA[const int c_meleeOptionReveal   = 0;]]>
    </Variable>
    <Variable Name="c_meleeOptionDefeat" Type="int" Value="1">
         <![CDATA[const int c_meleeOptionDefeat   = 1;]]>
    </Variable>
    <Variable Name="c_meleeOptionVictory" Type="int" Value="2">
         <![CDATA[const int c_meleeOptionVictory  = 2;]]>
    </Variable>
    <Native Name="MeleeSetOption" ReturnType="void" ArgumentList="int player, int option, bool value">
         <![CDATA[native void     MeleeSetOption (int player, int option, bool value);]]>
    </Native>
    <Native Name="MeleeGetOption" ReturnType="bool" ArgumentList="int player, int option">
         <![CDATA[native bool     MeleeGetOption (int player, int option);]]>
    </Native>
    <Native Name="MeleeInitOptions" ReturnType="void" ArgumentList="">
         <![CDATA[native void     MeleeInitOptions ();]]>
    </Native>
    <Variable Name="c_invalidMercenaryId" Type="int" Value="0">
         <![CDATA[const int c_invalidMercenaryId				= 0;]]>
    </Variable>
    <Variable Name="c_mercenaryStateEnabled" Type="int" Value="0">
         <![CDATA[const int c_mercenaryStateEnabled           = 0;]]>
    </Variable>
    <Variable Name="c_mercenaryStateDisabled" Type="int" Value="1">
         <![CDATA[const int c_mercenaryStateDisabled          = 1;]]>
    </Variable>
    <Variable Name="c_mercenaryStatePurchased" Type="int" Value="2">
         <![CDATA[const int c_mercenaryStatePurchased         = 2;]]>
    </Variable>
    <Variable Name="c_mercenaryStateHidden" Type="int" Value="3">
         <![CDATA[const int c_mercenaryStateHidden            = 3;]]>
    </Variable>
    <Variable Name="c_mercenaryStateNew" Type="int" Value="4">
         <![CDATA[const int c_mercenaryStateNew               = 4;]]>
    </Variable>
    <Native Name="MercenaryCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inState">
         <![CDATA[native int      MercenaryCreate (playergroup inPlayerGroup, int inState);]]>
    </Native>
    <Native Name="MercenaryLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int      MercenaryLastCreated ();]]>
    </Native>
    <Native Name="MercenaryDestroy" ReturnType="void" ArgumentList="int inMercenaryId">
         <![CDATA[native void     MercenaryDestroy (int inMercenaryId);]]>
    </Native>
    <Native Name="MercenarySetPlayerGroup" ReturnType="void" ArgumentList="int inMercenaryId, playergroup inPlayerGroup">
         <![CDATA[native void     MercenarySetPlayerGroup (int inMercenaryId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="MercenarySetState" ReturnType="void" ArgumentList="int inMercenaryId, int inState">
         <![CDATA[native void     MercenarySetState (int inMercenaryId, int inState);]]>
    </Native>
    <Native Name="MercenarySetCost" ReturnType="void" ArgumentList="int inMercenaryId, int inCost">
         <![CDATA[native void     MercenarySetCost (int inMercenaryId, int inCost);]]>
    </Native>
    <Native Name="MercenarySetTitleText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetTitleText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetDescriptionText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetDescriptionText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetCostText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetCostText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetUnitText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetUnitText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetAvailabilityText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetAvailabilityText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetSpecialText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetSpecialText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetTooltipText" ReturnType="void" ArgumentList="int inMercenaryId, text inText">
         <![CDATA[native void     MercenarySetTooltipText (int inMercenaryId, text inText);]]>
    </Native>
    <Native Name="MercenarySetModelLink" ReturnType="void" ArgumentList="int inMercenaryId, string inModelLink">
         <![CDATA[native void     MercenarySetModelLink (int inMercenaryId, string inModelLink);]]>
    </Native>
    <Native Name="MercenarySetScenePath" ReturnType="void" ArgumentList="int inMercenaryId, string inFilePath">
         <![CDATA[native void     MercenarySetScenePath (int inMercenaryId, string inFilePath);]]>
    </Native>
    <Native Name="MercenarySetImageFilePath" ReturnType="void" ArgumentList="int inMercenaryId, string inFilePath">
         <![CDATA[native void     MercenarySetImageFilePath (int inMercenaryId, string inFilePath);]]>
    </Native>
    <Native Name="MercenarySetRecentlyPurchased" ReturnType="void" ArgumentList="int inMercenaryId, bool inRecent">
         <![CDATA[native void     MercenarySetRecentlyPurchased (int inMercenaryId, bool inRecent);]]>
    </Native>
    <Native Name="MercenaryPurchase" ReturnType="void" ArgumentList="int inMercenaryId">
         <![CDATA[native void     MercenaryPurchase (int inMercenaryId);]]>
    </Native>
    <Native Name="MercenaryIsRecentlyPurchased" ReturnType="bool" ArgumentList="int inMercenaryId">
         <![CDATA[native bool     MercenaryIsRecentlyPurchased (int inMercenaryId);]]>
    </Native>
    <Native Name="MercenarySetSelected" ReturnType="void" ArgumentList="playergroup inPlayerGroup, int inMercenaryId">
         <![CDATA[native void     MercenarySetSelected (playergroup inPlayerGroup, int inMercenaryId);]]>
    </Native>
    <Native Name="MercenaryGetSelected" ReturnType="int" ArgumentList="int player">
         <![CDATA[native int      MercenaryGetSelected (int player);]]>
    </Native>
    <Native Name="TriggerAddEventMercenaryPanelExit" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void     TriggerAddEventMercenaryPanelExit (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventMercenaryPanelPurchase" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void     TriggerAddEventMercenaryPanelPurchase (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventMercenaryPanelSelectionChanged" ReturnType="void" ArgumentList="trigger t, int player, int inMercenaryId">
         <![CDATA[native void     TriggerAddEventMercenaryPanelSelectionChanged (trigger t, int player, int inMercenaryId);]]>
    </Native>
    <Native Name="MinimapPing" ReturnType="void" ArgumentList="playergroup players, point position, fixed duration, color c">
         <![CDATA[native void     MinimapPing (playergroup players, point position, fixed duration, color c);]]>
    </Native>
    <Native Name="PerfTestStart" ReturnType="void" ArgumentList="text name">
         <![CDATA[native void    PerfTestStart (text name);]]>
    </Native>
    <Native Name="PerfTestStop" ReturnType="void" ArgumentList="">
         <![CDATA[native void    PerfTestStop ();]]>
    </Native>
    <Native Name="PerfTestGetFPS" ReturnType="void" ArgumentList="">
         <![CDATA[native void    PerfTestGetFPS ();]]>
    </Native>
    <Native Name="UnitStatsStart" ReturnType="void" ArgumentList="text name, text unitName, text unitFood">
         <![CDATA[native void    UnitStatsStart (text name, text unitName, text unitFood);]]>
    </Native>
    <Native Name="UnitStatsStop" ReturnType="void" ArgumentList="">
         <![CDATA[native void    UnitStatsStop ();]]>
    </Native>
    <Native Name="EngineReset" ReturnType="void" ArgumentList="">
         <![CDATA[native void    EngineReset ();]]>
    </Native>
    <Native Name="MoviePlayAfterGame" ReturnType="void" ArgumentList="playergroup players, string assetLink">
         <![CDATA[native void     MoviePlayAfterGame (playergroup players, string assetLink);]]>
    </Native>
    <Native Name="TriggerAddEventMovieStarted" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void     TriggerAddEventMovieStarted (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventMovieFinished" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void     TriggerAddEventMovieFinished (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventMovieFunction" ReturnType="void" ArgumentList="trigger t, int player, string functionName">
         <![CDATA[native void     TriggerAddEventMovieFunction (trigger t, int player, string functionName);]]>
    </Native>
    <Variable Name="c_invalidObjectiveId" Type="int" Value="0">
         <![CDATA[const int c_invalidObjectiveId			= 0;]]>
    </Variable>
    <Variable Name="c_primaryObjectivesId" Type="int" Value="1">
         <![CDATA[const int c_primaryObjectivesId			= 1;]]>
    </Variable>
    <Variable Name="c_secondaryObjectivesId" Type="int" Value="2">
         <![CDATA[const int c_secondaryObjectivesId		= 2;]]>
    </Variable>
    <Variable Name="c_objectiveStateUnknown" Type="int" Value="-1">
         <![CDATA[const int c_objectiveStateUnknown       = -1;]]>
    </Variable>
    <Variable Name="c_objectiveStateHidden" Type="int" Value="0">
         <![CDATA[const int c_objectiveStateHidden        = 0;]]>
    </Variable>
    <Variable Name="c_objectiveStateActive" Type="int" Value="1">
         <![CDATA[const int c_objectiveStateActive        = 1;]]>
    </Variable>
    <Variable Name="c_objectiveStateCompleted" Type="int" Value="2">
         <![CDATA[const int c_objectiveStateCompleted     = 2;]]>
    </Variable>
    <Variable Name="c_objectiveStateFailed" Type="int" Value="3">
         <![CDATA[const int c_objectiveStateFailed        = 3;]]>
    </Variable>
    <Native Name="ObjectiveCreate3" ReturnType="int" ArgumentList="text inName, text inDescription, int inState, bool inVisible, bool inPrimary">
         <![CDATA[native int	ObjectiveCreate3 (
				text inName,
                text inDescription,
                int inState,
                bool inVisible,
                bool inPrimary
            );]]>
    </Native>
    <Native Name="ObjectiveLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          ObjectiveLastCreated ();]]>
    </Native>
    <Native Name="ObjectiveDestroy" ReturnType="void" ArgumentList="int inObjective">
         <![CDATA[native void         ObjectiveDestroy (int inObjective);]]>
    </Native>
    <Native Name="ObjectiveDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayers">
         <![CDATA[native void         ObjectiveDestroyAll (playergroup inPlayers);]]>
    </Native>
    <Native Name="ObjectiveShow" ReturnType="void" ArgumentList="int inObjective, playergroup inPlayers, bool inShow">
         <![CDATA[native void         ObjectiveShow (int inObjective, playergroup inPlayers, bool inShow);]]>
    </Native>
    <Native Name="ObjectiveVisible" ReturnType="bool" ArgumentList="int inObjective, int inPlayer">
         <![CDATA[native bool         ObjectiveVisible (int inObjective, int inPlayer);]]>
    </Native>
    <Native Name="ObjectiveSetName" ReturnType="void" ArgumentList="int inObjective, text inName">
         <![CDATA[native void         ObjectiveSetName (int inObjective, text inName);]]>
    </Native>
    <Native Name="ObjectiveGetName" ReturnType="text" ArgumentList="int inObjective">
         <![CDATA[native text         ObjectiveGetName (int inObjective);]]>
    </Native>
    <Native Name="ObjectiveSetDescription" ReturnType="void" ArgumentList="int inObjective, text inText">
         <![CDATA[native void         ObjectiveSetDescription (int inObjective, text inText);]]>
    </Native>
    <Native Name="ObjectiveGetDescription" ReturnType="text" ArgumentList="int inObjective">
         <![CDATA[native text         ObjectiveGetDescription (int inObjective);]]>
    </Native>
    <Native Name="ObjectiveSetState" ReturnType="void" ArgumentList="int inObjective, int inState">
         <![CDATA[native void         ObjectiveSetState (int inObjective, int inState);]]>
    </Native>
    <Native Name="ObjectiveGetState" ReturnType="int" ArgumentList="int inObjective">
         <![CDATA[native int          ObjectiveGetState (int inObjective);]]>
    </Native>
    <Native Name="ObjectiveSetPlayerGroup" ReturnType="void" ArgumentList="int inObjective, playergroup inPlayers">
         <![CDATA[native void         ObjectiveSetPlayerGroup (int inObjective, playergroup inPlayers);]]>
    </Native>
    <Native Name="ObjectiveGetPlayerGroup" ReturnType="playergroup" ArgumentList="int inObjective">
         <![CDATA[native playergroup  ObjectiveGetPlayerGroup (int inObjective);]]>
    </Native>
    <Native Name="ObjectiveSetPrimary" ReturnType="void" ArgumentList="int inObjective, bool inPrimary">
         <![CDATA[native void         ObjectiveSetPrimary (int inObjective, bool inPrimary);]]>
    </Native>
    <Native Name="ObjectiveGetPrimary" ReturnType="bool" ArgumentList="int inObjective">
         <![CDATA[native bool         ObjectiveGetPrimary (int inObjective);]]>
    </Native>
    <Native Name="AbilityCommand" ReturnType="abilcmd" ArgumentList="string inAbil, int inCmdIndex">
         <![CDATA[native abilcmd  AbilityCommand (string inAbil, int inCmdIndex);]]>
    </Native>
    <Native Name="AbilityCommandGetAbility" ReturnType="string" ArgumentList="abilcmd inAbilCmd">
         <![CDATA[native string   AbilityCommandGetAbility (abilcmd inAbilCmd);]]>
    </Native>
    <Native Name="AbilityCommandGetCommand" ReturnType="int" ArgumentList="abilcmd inAbilCmd">
         <![CDATA[native int      AbilityCommandGetCommand (abilcmd inAbilCmd);]]>
    </Native>
    <Variable Name="c_cmdActionNone" Type="int" Value="0">
         <![CDATA[const int c_cmdActionNone       = 0;]]>
    </Variable>
    <Variable Name="c_cmdActionInstant" Type="int" Value="1">
         <![CDATA[const int c_cmdActionInstant    = 1;]]>
    </Variable>
    <Variable Name="c_cmdActionTarget" Type="int" Value="2">
         <![CDATA[const int c_cmdActionTarget     = 2;]]>
    </Variable>
    <Native Name="AbilityCommandGetAction" ReturnType="int" ArgumentList="abilcmd inAbilCmd">
         <![CDATA[native int      AbilityCommandGetAction (abilcmd inAbilCmd);]]>
    </Native>
    <Native Name="Order" ReturnType="order" ArgumentList="abilcmd inAbilCmd">
         <![CDATA[native order    Order (abilcmd inAbilCmd);]]>
    </Native>
    <Native Name="OrderTargetingPoint" ReturnType="order" ArgumentList="abilcmd inAbilCmd, point inPoint">
         <![CDATA[native order    OrderTargetingPoint (abilcmd inAbilCmd, point inPoint);]]>
    </Native>
    <Native Name="OrderTargetingRelativePoint" ReturnType="order" ArgumentList="abilcmd inAbilCmd, point inPoint">
         <![CDATA[native order    OrderTargetingRelativePoint (abilcmd inAbilCmd, point inPoint);]]>
    </Native>
    <Native Name="OrderTargetingUnit" ReturnType="order" ArgumentList="abilcmd inAbilCmd, unit inUnit">
         <![CDATA[native order    OrderTargetingUnit (abilcmd inAbilCmd, unit inUnit);]]>
    </Native>
    <Native Name="OrderTargetingUnitGroup" ReturnType="order" ArgumentList="abilcmd inAbilCmd, unitgroup inUnitGroup">
         <![CDATA[native order    OrderTargetingUnitGroup (abilcmd inAbilCmd, unitgroup inUnitGroup);]]>
    </Native>
    <Native Name="OrderTargetingItem" ReturnType="order" ArgumentList="abilcmd inAbilCmd, unit inItem">
         <![CDATA[native order    OrderTargetingItem (abilcmd inAbilCmd, unit inItem);]]>
    </Native>
    <Native Name="OrderSetAutoCast" ReturnType="order" ArgumentList="abilcmd inAbilCmd, bool inAutoCastOn">
         <![CDATA[native order    OrderSetAutoCast (abilcmd inAbilCmd, bool inAutoCastOn);]]>
    </Native>
    <Native Name="OrderSetAbilityCommand" ReturnType="void" ArgumentList="order inOrder, abilcmd inAbilCmd">
         <![CDATA[native void     OrderSetAbilityCommand (order inOrder, abilcmd inAbilCmd);]]>
    </Native>
    <Native Name="OrderGetAbilityCommand" ReturnType="abilcmd" ArgumentList="order inOrder">
         <![CDATA[native abilcmd  OrderGetAbilityCommand (order inOrder);]]>
    </Native>
    <Native Name="OrderSetPlayer" ReturnType="void" ArgumentList="order inOrder, int inPlayer">
         <![CDATA[native void     OrderSetPlayer (order inOrder, int inPlayer);]]>
    </Native>
    <Native Name="OrderGetPlayer" ReturnType="int" ArgumentList="order inOrder">
         <![CDATA[native int      OrderGetPlayer (order inOrder);]]>
    </Native>
    <Variable Name="c_orderTargetNone" Type="int" Value="0">
         <![CDATA[const int c_orderTargetNone         = 0;]]>
    </Variable>
    <Variable Name="c_orderTargetPoint" Type="int" Value="1">
         <![CDATA[const int c_orderTargetPoint        = 1;]]>
    </Variable>
    <Variable Name="c_orderTargetUnit" Type="int" Value="2">
         <![CDATA[const int c_orderTargetUnit         = 2;]]>
    </Variable>
    <Variable Name="c_orderTargetItem" Type="int" Value="3">
         <![CDATA[const int c_orderTargetItem         = 3;]]>
    </Variable>
    <Native Name="OrderGetTargetType" ReturnType="int" ArgumentList="order inOrder">
         <![CDATA[native int      OrderGetTargetType (order inOrder);]]>
    </Native>
    <Native Name="OrderSetTargetPlacement" ReturnType="bool" ArgumentList="order inOrder, point inPoint, unit inPlacer, string inType">
         <![CDATA[native bool     OrderSetTargetPlacement (order inOrder, point inPoint, unit inPlacer, string inType);]]>
    </Native>
    <Native Name="OrderSetTargetPoint" ReturnType="void" ArgumentList="order inOrder, point inPoint">
         <![CDATA[native void     OrderSetTargetPoint (order inOrder, point inPoint);]]>
    </Native>
    <Native Name="OrderGetTargetPoint" ReturnType="point" ArgumentList="order inOrder">
         <![CDATA[native point    OrderGetTargetPoint (order inOrder);]]>
    </Native>
    <Native Name="OrderGetTargetPosition" ReturnType="point" ArgumentList="order inOrder">
         <![CDATA[native point    OrderGetTargetPosition (order inOrder);]]>
    </Native>
    <Native Name="OrderSetTargetUnit" ReturnType="void" ArgumentList="order inOrder, unit inUnit">
         <![CDATA[native void     OrderSetTargetUnit (order inOrder, unit inUnit);]]>
    </Native>
    <Native Name="OrderGetTargetUnit" ReturnType="unit" ArgumentList="order inOrder">
         <![CDATA[native unit     OrderGetTargetUnit (order inOrder);]]>
    </Native>
    <Native Name="OrderSetTargetPassenger" ReturnType="void" ArgumentList="order inOrder, unit inUnit">
         <![CDATA[native void     OrderSetTargetPassenger (order inOrder, unit inUnit);]]>
    </Native>
    <Native Name="OrderSetTargetItem" ReturnType="void" ArgumentList="order inOrder, unit inItem">
         <![CDATA[native void     OrderSetTargetItem (order inOrder, unit inItem);]]>
    </Native>
    <Native Name="OrderGetTargetItem" ReturnType="unit" ArgumentList="order inOrder">
         <![CDATA[native unit     OrderGetTargetItem (order inOrder);]]>
    </Native>
    <Native Name="OrderSetFlag" ReturnType="void" ArgumentList="order inOrder, int inFlag, bool inValue">
         <![CDATA[native void     OrderSetFlag (order inOrder, int inFlag, bool inValue);]]>
    </Native>
    <Native Name="OrderGetFlag" ReturnType="bool" ArgumentList="order inOrder, int inFlag">
         <![CDATA[native bool     OrderGetFlag (order inOrder, int inFlag);]]>
    </Native>
    <Variable Name="c_invalidPingId" Type="int" Value="0">
         <![CDATA[const int c_invalidPingId = 0;]]>
    </Variable>
    <Native Name="PingCreate" ReturnType="int" ArgumentList="playergroup players, string modelLink, point position, color intColor, fixed duration">
         <![CDATA[native int         PingCreate (
                        playergroup players,
                        string modelLink,
                        point position,
                        color intColor,
                        fixed duration
                    );]]>
    </Native>
    <Native Name="PingLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          PingLastCreated ();]]>
    </Native>
    <Native Name="PingDestroy" ReturnType="void" ArgumentList="int p">
         <![CDATA[native void         PingDestroy (int p);]]>
    </Native>
    <Native Name="PingDestroyAll" ReturnType="void" ArgumentList="">
         <![CDATA[native void         PingDestroyAll ();]]>
    </Native>
    <Native Name="PingSetPlayerGroup" ReturnType="void" ArgumentList="int p, playergroup playerMask">
         <![CDATA[native void         PingSetPlayerGroup (int p, playergroup playerMask);]]>
    </Native>
    <Native Name="PingGetPlayerGroup" ReturnType="playergroup" ArgumentList="int p">
         <![CDATA[native playergroup  PingGetPlayerGroup (int p);]]>
    </Native>
    <Native Name="PingSetModel" ReturnType="void" ArgumentList="int p, string modelLink">
         <![CDATA[native void         PingSetModel (int p, string modelLink);]]>
    </Native>
    <Native Name="PingSetPosition" ReturnType="void" ArgumentList="int p, point position">
         <![CDATA[native void         PingSetPosition (int p, point position);]]>
    </Native>
    <Native Name="PingGetPosition" ReturnType="point" ArgumentList="int p">
         <![CDATA[native point        PingGetPosition (int p);]]>
    </Native>
    <Native Name="PingSetScale" ReturnType="void" ArgumentList="int p, fixed scale">
         <![CDATA[native void         PingSetScale (int p, fixed scale);]]>
    </Native>
    <Native Name="PingGetScale" ReturnType="fixed" ArgumentList="int p">
         <![CDATA[native fixed        PingGetScale (int p);]]>
    </Native>
    <Native Name="PingSetRotation" ReturnType="void" ArgumentList="int p, fixed rotation">
         <![CDATA[native void         PingSetRotation (int p, fixed rotation);]]>
    </Native>
    <Native Name="PingGetRotation" ReturnType="fixed" ArgumentList="int p">
         <![CDATA[native fixed        PingGetRotation (int p);]]>
    </Native>
    <Native Name="PingSetColor" ReturnType="void" ArgumentList="int p, color intColor">
         <![CDATA[native void         PingSetColor (int p, color intColor);]]>
    </Native>
    <Native Name="PingGetColor" ReturnType="color" ArgumentList="int p">
         <![CDATA[native color        PingGetColor (int p);]]>
    </Native>
    <Native Name="PingSetDuration" ReturnType="void" ArgumentList="int p, fixed duration">
         <![CDATA[native void         PingSetDuration (int p, fixed duration);]]>
    </Native>
    <Native Name="PingGetDuration" ReturnType="fixed" ArgumentList="int p">
         <![CDATA[native fixed        PingGetDuration (int p);]]>
    </Native>
    <Native Name="PingSetUnit" ReturnType="void" ArgumentList="int p, unit u">
         <![CDATA[native void         PingSetUnit (int p, unit u);]]>
    </Native>
    <Native Name="PingGetUnit" ReturnType="unit" ArgumentList="int p">
         <![CDATA[native unit         PingGetUnit (int p);]]>
    </Native>
    <Native Name="PingSetTooltip" ReturnType="void" ArgumentList="int p, text tooltip">
         <![CDATA[native void         PingSetTooltip (int p, text tooltip);]]>
    </Native>
    <Native Name="PingGetTooltip" ReturnType="text" ArgumentList="int p">
         <![CDATA[native text         PingGetTooltip (int p);]]>
    </Native>
    <Native Name="PingSetVisible" ReturnType="void" ArgumentList="int p, bool isVisible">
         <![CDATA[native void         PingSetVisible (int p, bool isVisible);]]>
    </Native>
    <Native Name="PingIsVisible" ReturnType="bool" ArgumentList="int p">
         <![CDATA[native bool         PingIsVisible (int p);]]>
    </Native>
    <Variable Name="c_invalidPlanetId" Type="int" Value="0">
         <![CDATA[const int c_invalidPlanetId     = 0;]]>
    </Variable>
    <Variable Name="c_planetStateHidden" Type="int" Value="0">
         <![CDATA[const int c_planetStateHidden		= 0;]]>
    </Variable>
    <Variable Name="c_planetStateActive" Type="int" Value="1">
         <![CDATA[const int c_planetStateActive		= 1;]]>
    </Variable>
    <Variable Name="c_planetStateEmphasized" Type="int" Value="2">
         <![CDATA[const int c_planetStateEmphasized   = 2;]]>
    </Variable>
    <Variable Name="c_planetPanelContactButtonStateDisabled" Type="int" Value="0">
         <![CDATA[const int c_planetPanelContactButtonStateDisabled = 0;]]>
    </Variable>
    <Variable Name="c_planetPanelContactButtonStateBlinking" Type="int" Value="1">
         <![CDATA[const int c_planetPanelContactButtonStateBlinking = 1;]]>
    </Variable>
    <Variable Name="c_planetPanelContactButtonStatePlay" Type="int" Value="2">
         <![CDATA[const int c_planetPanelContactButtonStatePlay = 2;]]>
    </Variable>
    <Variable Name="c_planetPanelContactButtonStatePause" Type="int" Value="3">
         <![CDATA[const int c_planetPanelContactButtonStatePause = 3;]]>
    </Variable>
    <Native Name="PlanetCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inState">
         <![CDATA[native int          PlanetCreate (playergroup inPlayerGroup, int inState);]]>
    </Native>
    <Native Name="PlanetLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          PlanetLastCreated ();]]>
    </Native>
    <Native Name="PlanetDestroy" ReturnType="void" ArgumentList="int inPlanetId">
         <![CDATA[native void         PlanetDestroy (int inPlanetId);]]>
    </Native>
    <Native Name="PlanetDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void         PlanetDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PlanetSetSelected" ReturnType="void" ArgumentList="playergroup inPlayerGroup, int inPlanetId">
         <![CDATA[native void         PlanetSetSelected (playergroup inPlayerGroup, int inPlanetId);]]>
    </Native>
    <Native Name="PlanetGetSelected" ReturnType="int" ArgumentList="int player">
         <![CDATA[native int          PlanetGetSelected (int player);]]>
    </Native>
    <Native Name="PlanetClearSelected" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void         PlanetClearSelected (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PlanetSetPlayerGroup" ReturnType="void" ArgumentList="int inPlanetId, playergroup inPlayerGroup">
         <![CDATA[native void         PlanetSetPlayerGroup (int inPlanetId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PlanetSetState" ReturnType="void" ArgumentList="int inPlanetId, int inState">
         <![CDATA[native void         PlanetSetState (int inPlanetId, int inState);]]>
    </Native>
    <Native Name="PlanetSetPlanetName" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetPlanetName (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetDescriptionText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetDescriptionText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetTooltipText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetTooltipText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetContactTooltipText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetContactTooltipText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetTechnologyTooltipText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetTechnologyTooltipText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetMissionTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetMissionTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetMissionName" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetMissionName (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetPrimaryObjectiveTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetPrimaryObjectiveTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetPrimaryObjectiveText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetPrimaryObjectiveText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetSecondaryObjectiveTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetSecondaryObjectiveTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetSecondaryObjectiveText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetSecondaryObjectiveText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetRewardTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetRewardTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetRewardText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetRewardText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetResearchTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetResearchTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetResearchText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetResearchText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetBonusTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetBonusTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetBonusText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetBonusText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetPlanetText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetPlanetText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetTechnologyTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetTechnologyTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetTechnologyName" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetTechnologyName (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetTechnologyText" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetTechnologyText (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetContactTitle" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetContactTitle (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetContactName" ReturnType="void" ArgumentList="int inPlanetId, text inText">
         <![CDATA[native void         PlanetSetContactName (int inPlanetId, text inText);]]>
    </Native>
    <Native Name="PlanetSetContactModelLink" ReturnType="void" ArgumentList="int inPlanetId, string inContactModelLink">
         <![CDATA[native void         PlanetSetContactModelLink (int inPlanetId, string inContactModelLink);]]>
    </Native>
    <Native Name="PlanetSetBackgroundModelLink" ReturnType="void" ArgumentList="int inPlanetId, string inBackgroundModelLink">
         <![CDATA[native void         PlanetSetBackgroundModelLink (int inPlanetId, string inBackgroundModelLink);]]>
    </Native>
    <Native Name="PlanetSetPlanetModelLink" ReturnType="void" ArgumentList="int inPlanetId, string inPlanetModelLink">
         <![CDATA[native void         PlanetSetPlanetModelLink (int inPlanetId, string inPlanetModelLink);]]>
    </Native>
    <Native Name="PlanetSetTechnologyIconFilePath" ReturnType="void" ArgumentList="int inPlanetId, string inTechnologyIconFilePath">
         <![CDATA[native void         PlanetSetTechnologyIconFilePath (int inPlanetId, string inTechnologyIconFilePath);]]>
    </Native>
    <Native Name="PlanetSetTechnologyUnitLink" ReturnType="void" ArgumentList="int inPlanetId, string inUnitLink">
         <![CDATA[native void         PlanetSetTechnologyUnitLink (int inPlanetId, string inUnitLink);]]>
    </Native>
    <Native Name="PlanetPanelSetContactButtonState" ReturnType="void" ArgumentList="playergroup players, int inState">
         <![CDATA[native void         PlanetPanelSetContactButtonState (playergroup players, int inState);]]>
    </Native>
    <Native Name="PlanetPanelGetContactButtonState" ReturnType="int" ArgumentList="int player">
         <![CDATA[native int          PlanetPanelGetContactButtonState (int player);]]>
    </Native>
    <Native Name="PlanetPanelSetBackButtonEnabled" ReturnType="void" ArgumentList="playergroup players, bool inEnabled">
         <![CDATA[native void         PlanetPanelSetBackButtonEnabled (playergroup players, bool inEnabled);]]>
    </Native>
    <Native Name="PlanetPanelSetBackgroundImage" ReturnType="void" ArgumentList="playergroup players, string inFilePath">
         <![CDATA[native void         PlanetPanelSetBackgroundImage (playergroup players, string inFilePath);]]>
    </Native>
    <Native Name="TriggerAddEventPlanetMissionLaunched" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventPlanetMissionLaunched (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventPlanetMissionSelected" ReturnType="void" ArgumentList="trigger t, int player, int planetId">
         <![CDATA[native void         TriggerAddEventPlanetMissionSelected (trigger t, int player, int planetId);]]>
    </Native>
    <Native Name="TriggerAddEventPlanetPanelCanceled" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventPlanetPanelCanceled (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventPlanetPanelReplayPressed" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventPlanetPanelReplayPressed (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventPlanetPanelBirthComplete" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventPlanetPanelBirthComplete (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventPlanetPanelDeathComplete" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventPlanetPanelDeathComplete (trigger t, int player);]]>
    </Native>
    <Native Name="EventPlanetPanelMissionSelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventPlanetPanelMissionSelected ();]]>
    </Native>
    <Native Name="EventPlanetPanelDifficultySelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventPlanetPanelDifficultySelected ();]]>
    </Native>
    <Native Name="VictoryPanelSetMissionTitle" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetMissionTitle (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetMissionText" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetMissionText (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetMissionTimeTitle" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetMissionTimeTitle (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetMissionTimeText" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetMissionTimeText (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetRewardTitle" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetRewardTitle (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetRewardText" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetRewardText (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetRewardCredits" ReturnType="void" ArgumentList="int inCredits">
         <![CDATA[native void         VictoryPanelSetRewardCredits (int inCredits);]]>
    </Native>
    <Native Name="VictoryPanelSetAchievementsTitle" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetAchievementsTitle (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetStatisticsTitle" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetStatisticsTitle (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetCustomStatisticText" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetCustomStatisticText (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetCustomStatisticValue" ReturnType="void" ArgumentList="text inText">
         <![CDATA[native void         VictoryPanelSetCustomStatisticValue (text inText);]]>
    </Native>
    <Native Name="VictoryPanelSetPlanetModelLink" ReturnType="void" ArgumentList="string inModelLink">
         <![CDATA[native void         VictoryPanelSetPlanetModelLink (string inModelLink);]]>
    </Native>
    <Native Name="VictoryPanelAddCustomStatisticLine" ReturnType="void" ArgumentList="text inText, text inValueText">
         <![CDATA[native void         VictoryPanelAddCustomStatisticLine (text inText, text inValueText);]]>
    </Native>
    <Native Name="VictoryPanelClearCustomStatisticTable" ReturnType="void" ArgumentList="">
         <![CDATA[native void         VictoryPanelClearCustomStatisticTable ();]]>
    </Native>
    <Native Name="VictoryPanelAddTrackedStatistic" ReturnType="void" ArgumentList="string inStatistic">
         <![CDATA[native void         VictoryPanelAddTrackedStatistic (string inStatistic);]]>
    </Native>
    <Native Name="VictoryPanelAddAchievement" ReturnType="void" ArgumentList="string inAchievement">
         <![CDATA[native void         VictoryPanelAddAchievement (string inAchievement);]]>
    </Native>
    <Native Name="TriggerAddEventVictoryPanelExit" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventVictoryPanelExit (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventVictoryPanelPlayMissionAgain" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventVictoryPanelPlayMissionAgain (trigger t, int player);]]>
    </Native>
    <Native Name="EventVictoryPanelDifficultySelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventVictoryPanelDifficultySelected ();]]>
    </Native>
    <Variable Name="c_helpPanelPageTips" Type="int" Value="0">
         <![CDATA[const int c_helpPanelPageTips = 0;]]>
    </Variable>
    <Variable Name="c_helpPanelPageTutorials" Type="int" Value="1">
         <![CDATA[const int c_helpPanelPageTutorials = 1;]]>
    </Variable>
    <Native Name="HelpPanelAddTip" ReturnType="void" ArgumentList="playergroup players, text titleText, text descriptionText, text alertText, string iconPath">
         <![CDATA[native void	        HelpPanelAddTip (playergroup players, text titleText, text descriptionText, text alertText, string iconPath);]]>
    </Native>
    <Native Name="HelpPanelAddHint" ReturnType="void" ArgumentList="playergroup players, text titleText, text descriptionText, string iconPath">
         <![CDATA[native void	        HelpPanelAddHint (playergroup players, text titleText, text descriptionText, string iconPath);]]>
    </Native>
    <Native Name="HelpPanelAddTutorial" ReturnType="void" ArgumentList="playergroup players, text titleText, text descriptionText, string iconPath, string moviePath, bool flashing">
         <![CDATA[native void	        HelpPanelAddTutorial (playergroup players, text titleText, text descriptionText, string iconPath, string moviePath, bool flashing);]]>
    </Native>
    <Native Name="HelpPanelDisplayPage" ReturnType="void" ArgumentList="playergroup players, int inPage">
         <![CDATA[native void         HelpPanelDisplayPage (playergroup players, int inPage);]]>
    </Native>
    <Native Name="HelpPanelEnableTechTreeButton" ReturnType="void" ArgumentList="playergroup inPlayerGroup, bool inEnable">
         <![CDATA[native void         HelpPanelEnableTechTreeButton (playergroup inPlayerGroup, bool inEnable);]]>
    </Native>
    <Native Name="HelpPanelEnableTechGlossaryButton" ReturnType="void" ArgumentList="playergroup inPlayerGroup, bool inEnable">
         <![CDATA[native void         HelpPanelEnableTechGlossaryButton (playergroup inPlayerGroup, bool inEnable);]]>
    </Native>
    <Native Name="HelpPanelShowTechTreeRace" ReturnType="void" ArgumentList="playergroup inPlayerGroup, string inRace, bool inShow">
         <![CDATA[native void         HelpPanelShowTechTreeRace (playergroup inPlayerGroup, string inRace, bool inShow);]]>
    </Native>
    <Native Name="TipAlertPanelClear" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void         TipAlertPanelClear (playergroup inPlayerGroup);]]>
    </Native>
    <Variable Name="c_invalidRoomId" Type="int" Value="0">
         <![CDATA[const int c_invalidRoomId = 0;]]>
    </Variable>
    <Native Name="RoomPanelSetPositionUnit" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void         RoomPanelSetPositionUnit (unit inUnit);]]>
    </Native>
    <Native Name="RoomPanelAddButton" ReturnType="void" ArgumentList="playergroup players, text buttonText, string iconPath">
         <![CDATA[native void	        RoomPanelAddButton (playergroup players, text buttonText, string iconPath);]]>
    </Native>
    <Native Name="RoomPanelLastAdded" ReturnType="int" ArgumentList="">
         <![CDATA[native int          RoomPanelLastAdded ();]]>
    </Native>
    <Native Name="RoomPanelRemoveButton" ReturnType="void" ArgumentList="int roomId">
         <![CDATA[native void	        RoomPanelRemoveButton (int roomId);]]>
    </Native>
    <Native Name="RoomPanelRemoveAllButtons" ReturnType="void" ArgumentList="playergroup players">
         <![CDATA[native void	        RoomPanelRemoveAllButtons (playergroup players);]]>
    </Native>
    <Native Name="RoomPanelShowRoomButton" ReturnType="void" ArgumentList="int roomId, playergroup players, bool isVisible">
         <![CDATA[native void         RoomPanelShowRoomButton (int roomId, playergroup players, bool isVisible);]]>
    </Native>
    <Native Name="RoomPanelSetButtonPressedIcon" ReturnType="void" ArgumentList="int inRoomId, string inPressedIconPath">
         <![CDATA[native void         RoomPanelSetButtonPressedIcon (int inRoomId, string inPressedIconPath);]]>
    </Native>
    <Native Name="RoomPanelSetButtonEnabled" ReturnType="void" ArgumentList="int inRoomId, bool inEnabled">
         <![CDATA[native void         RoomPanelSetButtonEnabled (int inRoomId, bool inEnabled);]]>
    </Native>
    <Native Name="TriggerAddEventRoomPanelPressedButton" ReturnType="void" ArgumentList="trigger t, int player, int roomId">
         <![CDATA[native void         TriggerAddEventRoomPanelPressedButton (trigger t, int player, int roomId);]]>
    </Native>
    <Native Name="TriggerAddEventRoomPanelCanceled" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventRoomPanelCanceled (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventRoomPanelMouseRollOver" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventRoomPanelMouseRollOver (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventRoomPanelMouseRollOut" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventRoomPanelMouseRollOut (trigger t, int player);]]>
    </Native>
    <Native Name="EventRoomPanelButtonPressed" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventRoomPanelButtonPressed ();]]>
    </Native>
    <Variable Name="c_playerAny" Type="int" Value="-1">
         <![CDATA[const int c_playerAny = -1;]]>
    </Variable>
    <Variable Name="c_maxPlayers" Type="int" Value="32">
         <![CDATA[const int c_maxPlayers = 32;]]>
    </Variable>
    <Variable Name="c_playerPropMinerals" Type="int" Value="0">
         <![CDATA[const int c_playerPropMinerals              = 0;]]>
    </Variable>
    <Variable Name="c_playerPropVespene" Type="int" Value="1">
         <![CDATA[const int c_playerPropVespene               = 1;]]>
    </Variable>
    <Variable Name="c_playerPropTerrazine" Type="int" Value="2">
         <![CDATA[const int c_playerPropTerrazine             = 2;]]>
    </Variable>
    <Variable Name="c_playerPropCustom" Type="int" Value="3">
         <![CDATA[const int c_playerPropCustom                = 3;]]>
    </Variable>
    <Variable Name="c_playerPropSuppliesUsed" Type="int" Value="4">
         <![CDATA[const int c_playerPropSuppliesUsed          = 4;]]>
    </Variable>
    <Variable Name="c_playerPropSuppliesMade" Type="int" Value="5">
         <![CDATA[const int c_playerPropSuppliesMade          = 5;]]>
    </Variable>
    <Variable Name="c_playerPropSuppliesLimit" Type="int" Value="6">
         <![CDATA[const int c_playerPropSuppliesLimit         = 6;]]>
    </Variable>
    <Variable Name="c_playerPropCredits" Type="int" Value="7">
         <![CDATA[const int c_playerPropCredits               = 7;]]>
    </Variable>
    <Variable Name="c_playerPropCreditsSpent" Type="int" Value="8">
         <![CDATA[const int c_playerPropCreditsSpent          = 8;]]>
    </Variable>
    <Variable Name="c_playerPropResearchPoints" Type="int" Value="9">
         <![CDATA[const int c_playerPropResearchPoints        = 9;]]>
    </Variable>
    <Variable Name="c_playerPropResearchPointsSpent" Type="int" Value="10">
         <![CDATA[const int c_playerPropResearchPointsSpent   = 10;]]>
    </Variable>
    <Variable Name="c_playerPropHandicap" Type="int" Value="11">
         <![CDATA[const int c_playerPropHandicap              = 11;]]>
    </Variable>
    <Variable Name="c_playerPropMineralsCollected" Type="int" Value="12">
         <![CDATA[const int c_playerPropMineralsCollected     = 12;]]>
    </Variable>
    <Variable Name="c_playerPropVespeneCollected" Type="int" Value="13">
         <![CDATA[const int c_playerPropVespeneCollected      = 13;]]>
    </Variable>
    <Variable Name="c_playerPropTerrazineCollected" Type="int" Value="14">
         <![CDATA[const int c_playerPropTerrazineCollected    = 14;]]>
    </Variable>
    <Variable Name="c_playerPropCustomCollected" Type="int" Value="15">
         <![CDATA[const int c_playerPropCustomCollected       = 15;]]>
    </Variable>
    <Variable Name="c_playerPropOperSetTo" Type="int" Value="0">
         <![CDATA[const int c_playerPropOperSetTo         = 0;]]>
    </Variable>
    <Variable Name="c_playerPropOperAdd" Type="int" Value="1">
         <![CDATA[const int c_playerPropOperAdd           = 1;]]>
    </Variable>
    <Variable Name="c_playerPropOperSubtract" Type="int" Value="2">
         <![CDATA[const int c_playerPropOperSubtract      = 2;]]>
    </Variable>
    <Native Name="PlayerModifyPropertyInt" ReturnType="void" ArgumentList="int inPlayer, int inProp, int inOper, int inVal">
         <![CDATA[native void     PlayerModifyPropertyInt (int inPlayer, int inProp, int inOper, int inVal);]]>
    </Native>
    <Native Name="PlayerModifyPropertyFixed" ReturnType="void" ArgumentList="int inPlayer, int inProp, int inOper, fixed inVal">
         <![CDATA[native void     PlayerModifyPropertyFixed (int inPlayer, int inProp, int inOper, fixed inVal);]]>
    </Native>
    <Native Name="PlayerGetPropertyInt" ReturnType="int" ArgumentList="int inPlayer, int inProp">
         <![CDATA[native int      PlayerGetPropertyInt (int inPlayer, int inProp);]]>
    </Native>
    <Native Name="PlayerGetPropertyFixed" ReturnType="fixed" ArgumentList="int inPlayer, int inProp">
         <![CDATA[native fixed    PlayerGetPropertyFixed (int inPlayer, int inProp);]]>
    </Native>
    <Variable Name="c_playerStatusUnused" Type="int" Value="0">
         <![CDATA[const int c_playerStatusUnused          = 0;]]>
    </Variable>
    <Variable Name="c_playerStatusActive" Type="int" Value="1">
         <![CDATA[const int c_playerStatusActive          = 1;]]>
    </Variable>
    <Variable Name="c_playerStatusLeft" Type="int" Value="2">
         <![CDATA[const int c_playerStatusLeft            = 2;]]>
    </Variable>
    <Native Name="PlayerStatus" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int      PlayerStatus (int inPlayer);]]>
    </Native>
    <Native Name="PlayerType" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int      PlayerType (int inPlayer);]]>
    </Native>
    <Native Name="PlayerName" ReturnType="text" ArgumentList="int inPlayer">
         <![CDATA[native text     PlayerName (int inPlayer);]]>
    </Native>
    <Native Name="PlayerRace" ReturnType="string" ArgumentList="int inPlayer">
         <![CDATA[native string   PlayerRace (int inPlayer);]]>
    </Native>
    <Native Name="PlayerDifficulty" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int      PlayerDifficulty (int inPlayer);]]>
    </Native>
    <Native Name="PlayerSetDifficulty" ReturnType="void" ArgumentList="int inPlayer, int inDifficulty">
         <![CDATA[native void     PlayerSetDifficulty (int inPlayer, int inDifficulty);]]>
    </Native>
    <Native Name="PlayerStartLocation" ReturnType="point" ArgumentList="int inPlayer">
         <![CDATA[native point    PlayerStartLocation (int inPlayer);]]>
    </Native>
    <Native Name="PlayerSetColorIndex" ReturnType="void" ArgumentList="int inPlayer, int inIndex, bool inChangeUnits">
         <![CDATA[native void     PlayerSetColorIndex (int inPlayer, int inIndex, bool inChangeUnits);]]>
    </Native>
    <Native Name="PlayerGetColorIndex" ReturnType="int" ArgumentList="int inPlayer, bool inDefault">
         <![CDATA[native int      PlayerGetColorIndex (int inPlayer, bool inDefault);]]>
    </Native>
    <Native Name="PlayerColorName" ReturnType="text" ArgumentList="int inColor">
         <![CDATA[native text     PlayerColorName (int inColor);]]>
    </Native>
    <Native Name="PlayerSetAlliance" ReturnType="void" ArgumentList="int inSourcePlayer, int inAllianceId, int inTargetPlayer, bool ally">
         <![CDATA[native void PlayerSetAlliance (int inSourcePlayer, int inAllianceId, int inTargetPlayer, bool ally);]]>
    </Native>
    <Native Name="PlayerGetAlliance" ReturnType="bool" ArgumentList="int inSourcePlayer, int inAllianceId, int inTargetPlayer">
         <![CDATA[native bool PlayerGetAlliance (int inSourcePlayer, int inAllianceId, int inTargetPlayer);]]>
    </Native>
    <Variable Name="c_playerStateShowScore" Type="int" Value="0">
         <![CDATA[const int c_playerStateShowScore			= 0;]]>
    </Variable>
    <Variable Name="c_playerStateXPGain" Type="int" Value="1">
         <![CDATA[const int c_playerStateXPGain				= 1;]]>
    </Variable>
    <Variable Name="c_playerStateAbortEnabled" Type="int" Value="2">
         <![CDATA[const int c_playerStateAbortEnabled			= 2;]]>
    </Variable>
    <Variable Name="c_playerStateRestartEnabled" Type="int" Value="3">
         <![CDATA[const int c_playerStateRestartEnabled		= 3;]]>
    </Variable>
    <Variable Name="c_playerStateContinueEnabled" Type="int" Value="4">
         <![CDATA[const int c_playerStateContinueEnabled		= 4;]]>
    </Variable>
    <Variable Name="c_playerStateShowWorldTip" Type="int" Value="5">
         <![CDATA[const int c_playerStateShowWorldTip			= 5;]]>
    </Variable>
    <Variable Name="c_playerStateFidgetingEnabled" Type="int" Value="6">
         <![CDATA[const int c_playerStateFidgetingEnabled		= 6;]]>
    </Variable>
    <Variable Name="c_playerStateDisplayInLeaderPanel" Type="int" Value="7">
         <![CDATA[const int c_playerStateDisplayInLeaderPanel = 7;]]>
    </Variable>
    <Variable Name="c_playerStateDisplayInViewMenu" Type="int" Value="8">
         <![CDATA[const int c_playerStateDisplayInViewMenu    = 8;]]>
    </Variable>
    <Native Name="PlayerSetState" ReturnType="void" ArgumentList="int inPlayer, int inState, bool inVal">
         <![CDATA[native void PlayerSetState (int inPlayer, int inState, bool inVal);]]>
    </Native>
    <Native Name="PlayerGetState" ReturnType="bool" ArgumentList="int inPlayer, int inState">
         <![CDATA[native bool PlayerGetState (int inPlayer, int inState);]]>
    </Native>
    <Native Name="PlayerBeaconClearTarget" ReturnType="void" ArgumentList="int inPlayer, int inBeacon">
         <![CDATA[native void PlayerBeaconClearTarget (int inPlayer, int inBeacon);]]>
    </Native>
    <Native Name="PlayerBeaconIsAutoCast" ReturnType="bool" ArgumentList="int inPlayer, int inBeacon">
         <![CDATA[native bool PlayerBeaconIsAutoCast (int inPlayer, int inBeacon);]]>
    </Native>
    <Native Name="PlayerBeaconIsFromUser" ReturnType="bool" ArgumentList="int inPlayer, int inBeacon">
         <![CDATA[native bool PlayerBeaconIsFromUser (int inPlayer, int inBeacon);]]>
    </Native>
    <Native Name="PlayerBeaconIsSet" ReturnType="bool" ArgumentList="int inPlayer, int inBeacon">
         <![CDATA[native bool PlayerBeaconIsSet (int inPlayer, int inBeacon);]]>
    </Native>
    <Native Name="PlayerBeaconGetTargetPoint" ReturnType="point" ArgumentList="int inPlayer, int inBeacon">
         <![CDATA[native point PlayerBeaconGetTargetPoint (int inPlayer, int inBeacon);]]>
    </Native>
    <Native Name="PlayerBeaconGetTargetUnit" ReturnType="unit" ArgumentList="int inPlayer, int inBeacon">
         <![CDATA[native unit PlayerBeaconGetTargetUnit (int inPlayer, int inBeacon);]]>
    </Native>
    <Native Name="PlayerBeaconSetAutoCast" ReturnType="void" ArgumentList="int inPlayer, int inBeacon, bool enable">
         <![CDATA[native void PlayerBeaconSetAutoCast (int inPlayer, int inBeacon, bool enable);]]>
    </Native>
    <Native Name="PlayerBeaconSetTargetPoint" ReturnType="void" ArgumentList="int inPlayer, int inBeacon, point inPoint, bool alert">
         <![CDATA[native void PlayerBeaconSetTargetPoint (int inPlayer, int inBeacon, point inPoint, bool alert);]]>
    </Native>
    <Native Name="PlayerBeaconSetTargetUnit" ReturnType="void" ArgumentList="int inPlayer, int inBeacon, unit inUnit, bool alert">
         <![CDATA[native void PlayerBeaconSetTargetUnit (int inPlayer, int inBeacon, unit inUnit, bool alert);]]>
    </Native>
    <Native Name="PlayerBeaconAlert" ReturnType="void" ArgumentList="int inPlayer, int inBeacon, string inAlert, text inMessage">
         <![CDATA[native void PlayerBeaconAlert (int inPlayer, int inBeacon, string inAlert, text inMessage);]]>
    </Native>
    <Native Name="PlayerPauseAllCharges" ReturnType="void" ArgumentList="int inPlayer, bool inPause">
         <![CDATA[native void PlayerPauseAllCharges (int inPlayer, bool inPause);]]>
    </Native>
    <Native Name="PlayerPauseAllCooldowns" ReturnType="void" ArgumentList="int inPlayer, bool inPause">
         <![CDATA[native void PlayerPauseAllCooldowns (int inPlayer, bool inPause);]]>
    </Native>
    <Native Name="PlayerAddChargeRegen" ReturnType="void" ArgumentList="int inPlayer, string inCharge, fixed inVal">
         <![CDATA[native void PlayerAddChargeRegen (int inPlayer, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="PlayerGetChargeRegen" ReturnType="fixed" ArgumentList="int inPlayer, string inCharge">
         <![CDATA[native fixed PlayerGetChargeRegen (int inPlayer, string inCharge);]]>
    </Native>
    <Native Name="PlayerAddChargeUsed" ReturnType="void" ArgumentList="int inPlayer, string inCharge, fixed inVal">
         <![CDATA[native void PlayerAddChargeUsed (int inPlayer, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="PlayerGetChargeUsed" ReturnType="fixed" ArgumentList="int inPlayer, string inCharge">
         <![CDATA[native fixed PlayerGetChargeUsed (int inPlayer, string inCharge);]]>
    </Native>
    <Native Name="PlayerAddCooldown" ReturnType="void" ArgumentList="int inPlayer, string inCooldown, fixed inVal">
         <![CDATA[native void PlayerAddCooldown (int inPlayer, string inCooldown, fixed inVal);]]>
    </Native>
    <Native Name="PlayerGetCooldown" ReturnType="fixed" ArgumentList="int inPlayer, string inCooldown">
         <![CDATA[native fixed PlayerGetCooldown (int inPlayer, string inCooldown);]]>
    </Native>
    <Native Name="PlayerCreateEffectPoint" ReturnType="void" ArgumentList="int inPlayer, string inEffect, point inTarget">
         <![CDATA[native void PlayerCreateEffectPoint (int inPlayer, string inEffect, point inTarget);]]>
    </Native>
    <Native Name="PlayerCreateEffectUnit" ReturnType="void" ArgumentList="int inPlayer, string inEffect, unit inTarget">
         <![CDATA[native void PlayerCreateEffectUnit (int inPlayer, string inEffect, unit inTarget);]]>
    </Native>
    <Native Name="PlayerValidateEffectPoint" ReturnType="int" ArgumentList="int inPlayer, string inEffect, point inTarget">
         <![CDATA[native int PlayerValidateEffectPoint (int inPlayer, string inEffect, point inTarget);]]>
    </Native>
    <Native Name="PlayerValidateEffectUnit" ReturnType="int" ArgumentList="int inPlayer, string inEffect, unit inTarget">
         <![CDATA[native int PlayerValidateEffectUnit (int inPlayer, string inEffect, unit inTarget);]]>
    </Native>
    <Native Name="PlayerScoreValueEnable" ReturnType="void" ArgumentList="int player, string value, bool enable">
         <![CDATA[native void PlayerScoreValueEnable (int player, string value, bool enable);]]>
    </Native>
    <Native Name="PlayerScoreValueGetAsFixed" ReturnType="fixed" ArgumentList="int player, string value">
         <![CDATA[native fixed PlayerScoreValueGetAsFixed (int player, string value);]]>
    </Native>
    <Native Name="PlayerScoreValueGetAsInt" ReturnType="int" ArgumentList="int player, string value">
         <![CDATA[native int PlayerScoreValueGetAsInt (int player, string value);]]>
    </Native>
    <Native Name="PlayerScoreValueSetFromFixed" ReturnType="void" ArgumentList="int player, string value, fixed amount">
         <![CDATA[native void PlayerScoreValueSetFromFixed (int player, string value, fixed amount);]]>
    </Native>
    <Native Name="PlayerScoreValueSetFromInt" ReturnType="void" ArgumentList="int player, string value, int amount">
         <![CDATA[native void PlayerScoreValueSetFromInt (int player, string value, int amount);]]>
    </Native>
    <Variable Name="c_gameResultUndecided" Type="int" Value="0">
         <![CDATA[const int c_gameResultUndecided     = 0;]]>
    </Variable>
    <Variable Name="c_gameResultVictory" Type="int" Value="1">
         <![CDATA[const int c_gameResultVictory       = 1;]]>
    </Variable>
    <Variable Name="c_gameResultDefeat" Type="int" Value="2">
         <![CDATA[const int c_gameResultDefeat        = 2;]]>
    </Variable>
    <Variable Name="c_gameResultTie" Type="int" Value="3">
         <![CDATA[const int c_gameResultTie           = 3;]]>
    </Variable>
    <Native Name="TriggerAddEventPlayerAllianceChange" ReturnType="void" ArgumentList="trigger inTrigger, int player">
         <![CDATA[native void TriggerAddEventPlayerAllianceChange (trigger inTrigger, int player);]]>
    </Native>
    <Native Name="TriggerAddEventPlayerLeft" ReturnType="void" ArgumentList="trigger inTrigger, int player, int inResult">
         <![CDATA[native void TriggerAddEventPlayerLeft (trigger inTrigger, int player, int inResult);]]>
    </Native>
    <Native Name="TriggerAddEventPlayerPropChange" ReturnType="void" ArgumentList="trigger inTrigger, int player, int inProp">
         <![CDATA[native void TriggerAddEventPlayerPropChange (trigger inTrigger, int player, int inProp);]]>
    </Native>
    <Native Name="TriggerAddEventPlayerAIWave" ReturnType="void" ArgumentList="trigger inTrigger, int player">
         <![CDATA[native void TriggerAddEventPlayerAIWave (trigger inTrigger, int player);]]>
    </Native>
    <Native Name="EventPlayer" ReturnType="int" ArgumentList="">
         <![CDATA[native int  EventPlayer ();]]>
    </Native>
    <Native Name="EventPlayerProperty" ReturnType="int" ArgumentList="">
         <![CDATA[native int  EventPlayerProperty ();]]>
    </Native>
    <Native Name="DifficultyName" ReturnType="text" ArgumentList="int inDifficulty">
         <![CDATA[native text DifficultyName (int inDifficulty);]]>
    </Native>
    <Native Name="DifficultyNameCampaign" ReturnType="text" ArgumentList="int inDifficulty">
         <![CDATA[native text DifficultyNameCampaign (int inDifficulty);]]>
    </Native>
    <Native Name="DifficultyEnabled" ReturnType="bool" ArgumentList="int inDifficulty">
         <![CDATA[native bool DifficultyEnabled (int inDifficulty);]]>
    </Native>
    <Native Name="DifficultyAPM" ReturnType="int" ArgumentList="int inDifficulty">
         <![CDATA[native int  DifficultyAPM (int inDifficulty);]]>
    </Native>
    <Native Name="PlayerGroupEmpty" ReturnType="playergroup" ArgumentList="">
         <![CDATA[native playergroup PlayerGroupEmpty ();]]>
    </Native>
    <Native Name="PlayerGroupCopy" ReturnType="playergroup" ArgumentList="playergroup inGroup">
         <![CDATA[native playergroup PlayerGroupCopy (playergroup inGroup);]]>
    </Native>
    <Native Name="PlayerGroupAll" ReturnType="playergroup" ArgumentList="">
         <![CDATA[native playergroup PlayerGroupAll ();]]>
    </Native>
    <Native Name="PlayerGroupActive" ReturnType="playergroup" ArgumentList="">
         <![CDATA[native playergroup PlayerGroupActive ();]]>
    </Native>
    <Native Name="PlayerGroupSingle" ReturnType="playergroup" ArgumentList="int inPlayer">
         <![CDATA[native playergroup PlayerGroupSingle (int inPlayer);]]>
    </Native>
    <Variable Name="c_playerGroupAlly" Type="int" Value="0">
         <![CDATA[const int c_playerGroupAlly     = 0;]]>
    </Variable>
    <Variable Name="c_playerGroupEnemy" Type="int" Value="1">
         <![CDATA[const int c_playerGroupEnemy    = 1;]]>
    </Variable>
    <Variable Name="c_playerGroupAny" Type="int" Value="2">
         <![CDATA[const int c_playerGroupAny      = 2;]]>
    </Variable>
    <Native Name="PlayerGroupAlliance" ReturnType="playergroup" ArgumentList="int inType, int inPlayer">
         <![CDATA[native playergroup PlayerGroupAlliance (int inType, int inPlayer);]]>
    </Native>
    <Native Name="PlayerGroupClear" ReturnType="void" ArgumentList="playergroup inGroup">
         <![CDATA[native void PlayerGroupClear (playergroup inGroup);]]>
    </Native>
    <Native Name="PlayerGroupAdd" ReturnType="void" ArgumentList="playergroup inGroup, int inPlayer">
         <![CDATA[native void PlayerGroupAdd (playergroup inGroup, int inPlayer);]]>
    </Native>
    <Native Name="PlayerGroupRemove" ReturnType="void" ArgumentList="playergroup inGroup, int inPlayer">
         <![CDATA[native void PlayerGroupRemove (playergroup inGroup, int inPlayer);]]>
    </Native>
    <Native Name="PlayerGroupCount" ReturnType="int" ArgumentList="playergroup inGroup">
         <![CDATA[native int  PlayerGroupCount (playergroup inGroup);]]>
    </Native>
    <Native Name="PlayerGroupPlayer" ReturnType="int" ArgumentList="playergroup inGroup, int inIndex">
         <![CDATA[native int  PlayerGroupPlayer (playergroup inGroup, int inIndex);]]>
    </Native>
    <Native Name="PlayerGroupHasPlayer" ReturnType="bool" ArgumentList="playergroup inGroup, int inPlayer">
         <![CDATA[native bool PlayerGroupHasPlayer (playergroup inGroup, int inPlayer);]]>
    </Native>
    <Native Name="Point" ReturnType="point" ArgumentList="fixed x, fixed y">
         <![CDATA[native point Point (fixed x, fixed y);]]>
    </Native>
    <Native Name="PointWithOffset" ReturnType="point" ArgumentList="point p, fixed x, fixed y">
         <![CDATA[native point PointWithOffset (point p, fixed x, fixed y);]]>
    </Native>
    <Native Name="PointWithOffsetPolar" ReturnType="point" ArgumentList="point p, fixed distance, fixed angle">
         <![CDATA[native point PointWithOffsetPolar (point p, fixed distance, fixed angle);]]>
    </Native>
    <Native Name="PointFromId" ReturnType="point" ArgumentList="int id">
         <![CDATA[native point PointFromId (int id);]]>
    </Native>
    <Native Name="PointGetX" ReturnType="fixed" ArgumentList="point p">
         <![CDATA[native fixed PointGetX (point p);]]>
    </Native>
    <Native Name="PointGetY" ReturnType="fixed" ArgumentList="point p">
         <![CDATA[native fixed PointGetY (point p);]]>
    </Native>
    <Native Name="PointSet" ReturnType="void" ArgumentList="point p1, point p2">
         <![CDATA[native void  PointSet (point p1, point p2);]]>
    </Native>
    <Native Name="PointGetFacing" ReturnType="fixed" ArgumentList="point p">
         <![CDATA[native fixed PointGetFacing (point p);]]>
    </Native>
    <Native Name="PointSetFacing" ReturnType="void" ArgumentList="point p, fixed inFacing">
         <![CDATA[native void  PointSetFacing (point p, fixed inFacing);]]>
    </Native>
    <Native Name="PointGetHeight" ReturnType="fixed" ArgumentList="point p">
         <![CDATA[native fixed PointGetHeight (point p);]]>
    </Native>
    <Native Name="PointSetHeight" ReturnType="void" ArgumentList="point p, fixed inHeight">
         <![CDATA[native void  PointSetHeight (point p, fixed inHeight);]]>
    </Native>
    <Native Name="PointsInRange" ReturnType="bool" ArgumentList="point p1, point p2, fixed range">
         <![CDATA[native bool  PointsInRange (point p1, point p2, fixed range);]]>
    </Native>
    <Native Name="AngleBetweenPoints" ReturnType="fixed" ArgumentList="point p1, point p2">
         <![CDATA[native fixed AngleBetweenPoints (point p1, point p2);]]>
    </Native>
    <Native Name="DistanceBetweenPoints" ReturnType="fixed" ArgumentList="point p1, point p2">
         <![CDATA[native fixed DistanceBetweenPoints (point p1, point p2);]]>
    </Native>
    <Native Name="PointPathingCost" ReturnType="int" ArgumentList="point p1, point p2">
         <![CDATA[native int   PointPathingCost (point p1, point p2);]]>
    </Native>
    <Native Name="PointPathingCliffLevel" ReturnType="fixed" ArgumentList="point p">
         <![CDATA[native fixed PointPathingCliffLevel (point p);]]>
    </Native>
    <Native Name="PointPathingPassable" ReturnType="bool" ArgumentList="point p">
         <![CDATA[native bool  PointPathingPassable (point p);]]>
    </Native>
    <Native Name="PointPathingIsConnected" ReturnType="bool" ArgumentList="point p1, point p2">
         <![CDATA[native bool  PointPathingIsConnected (point p1, point p2);]]>
    </Native>
    <Native Name="PointReflect" ReturnType="point" ArgumentList="point source, point dest, fixed angle">
         <![CDATA[native point PointReflect (point source, point dest, fixed angle);]]>
    </Native>
    <Variable Name="c_noPortraitChannel" Type="int" Value="-1">
         <![CDATA[const int c_noPortraitChannel      = -1;]]>
    </Variable>
    <Variable Name="c_invalidPortraitId" Type="int" Value="0">
         <![CDATA[const int c_invalidPortraitId       = 0;]]>
    </Variable>
    <Variable Name="c_portraitRenderTypeHDR" Type="int" Value="0">
         <![CDATA[const int c_portraitRenderTypeHDR = 0;]]>
    </Variable>
    <Variable Name="c_portraitRenderTypeLDR" Type="int" Value="1">
         <![CDATA[const int c_portraitRenderTypeLDR = 1;]]>
    </Variable>
    <Native Name="PortraitCreate" ReturnType="int" ArgumentList="int offsetX, int offsetY, int anchor, int width, int height, string modelLink, string cameraLink, string animProps, bool visible, bool waitUntilLoaded">
         <![CDATA[native int          PortraitCreate (
                        int offsetX,
                        int offsetY,
                        int anchor,
                        int width,
                        int height,
                        string modelLink,
                        string cameraLink,
                        string animProps,
                        bool visible,
                        bool waitUntilLoaded
                    );]]>
    </Native>
    <Native Name="PortraitLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          PortraitLastCreated ();]]>
    </Native>
    <Native Name="PortraitDestroy" ReturnType="void" ArgumentList="int p">
         <![CDATA[native void         PortraitDestroy (int p);]]>
    </Native>
    <Native Name="PortraitDestroyAll" ReturnType="void" ArgumentList="">
         <![CDATA[native void         PortraitDestroyAll ();]]>
    </Native>
    <Native Name="PortraitWaitForLoad" ReturnType="void" ArgumentList="int p">
         <![CDATA[native void         PortraitWaitForLoad (int p);]]>
    </Native>
    <Native Name="PortraitGetGame" ReturnType="int" ArgumentList="">
         <![CDATA[native int          PortraitGetGame ();]]>
    </Native>
    <Native Name="PortraitGetPlanetPanel" ReturnType="int" ArgumentList="">
         <![CDATA[native int          PortraitGetPlanetPanel ();]]>
    </Native>
    <Native Name="PortraitSetModel" ReturnType="void" ArgumentList="int p, string modelLink, bool waitUntilLoaded">
         <![CDATA[native void         PortraitSetModel (int p, string modelLink, bool waitUntilLoaded);]]>
    </Native>
    <Native Name="PortraitSetAnim" ReturnType="void" ArgumentList="int p, string anim">
         <![CDATA[native void         PortraitSetAnim (int p, string anim);]]>
    </Native>
    <Native Name="PortraitSetCamera" ReturnType="void" ArgumentList="int p, string cameraName">
         <![CDATA[native void         PortraitSetCamera (int p, string cameraName);]]>
    </Native>
    <Native Name="PortraitSetSize" ReturnType="void" ArgumentList="int p, int width, int height">
         <![CDATA[native void         PortraitSetSize (int p, int width, int height);]]>
    </Native>
    <Native Name="PortraitSetPosition" ReturnType="void" ArgumentList="int p, int anchor, int offsetX, int offsetY">
         <![CDATA[native void         PortraitSetPosition (int p, int anchor, int offsetX, int offsetY);]]>
    </Native>
    <Native Name="PortraitSetFullscreen" ReturnType="void" ArgumentList="int p, bool isFullscreen">
         <![CDATA[native void         PortraitSetFullscreen (int p, bool isFullscreen);]]>
    </Native>
    <Native Name="PortraitSetOffscreen" ReturnType="void" ArgumentList="int p, bool isOffscreen">
         <![CDATA[native void         PortraitSetOffscreen (int p, bool isOffscreen);]]>
    </Native>
    <Native Name="PortraitSetVisible" ReturnType="void" ArgumentList="int p, playergroup players, bool isVisible, bool forceVisible">
         <![CDATA[native void         PortraitSetVisible (int p, playergroup players, bool isVisible, bool forceVisible);]]>
    </Native>
    <Native Name="PortraitSetBorderVisible" ReturnType="void" ArgumentList="int p, bool isBorderVisible">
         <![CDATA[native void         PortraitSetBorderVisible (int p, bool isBorderVisible);]]>
    </Native>
    <Native Name="PortraitSetBorderTexture" ReturnType="void" ArgumentList="int p, string inBorderFilePath">
         <![CDATA[native void         PortraitSetBorderTexture (int p, string inBorderFilePath);]]>
    </Native>
    <Native Name="PortraitSetBackgroundVisible" ReturnType="void" ArgumentList="int p, bool isBackgroundVisible">
         <![CDATA[native void         PortraitSetBackgroundVisible (int p, bool isBackgroundVisible);]]>
    </Native>
    <Native Name="PortraitSetChannel" ReturnType="void" ArgumentList="int p, int channel">
         <![CDATA[native void         PortraitSetChannel (int p, int channel);]]>
    </Native>
    <Native Name="PortraitSetChannelPortrait" ReturnType="void" ArgumentList="int p, int dest, int channel">
         <![CDATA[native void         PortraitSetChannelPortrait (int p, int dest, int channel);]]>
    </Native>
    <Native Name="PortraitUseTransition" ReturnType="void" ArgumentList="int p, bool useTransition">
         <![CDATA[native void         PortraitUseTransition (int p, bool useTransition);]]>
    </Native>
    <Native Name="PortraitSetRenderType" ReturnType="void" ArgumentList="int p, int renderType">
         <![CDATA[native void         PortraitSetRenderType (int p, int renderType);]]>
    </Native>
    <Native Name="PortraitSetMuted" ReturnType="void" ArgumentList="int p, bool isMuted">
         <![CDATA[native void         PortraitSetMuted (int p, bool isMuted);]]>
    </Native>
    <Native Name="PortraitForceTransition" ReturnType="void" ArgumentList="int p, bool isVisible, bool isInstant">
         <![CDATA[native void         PortraitForceTransition (int p, bool isVisible, bool isInstant);]]>
    </Native>
    <Native Name="PortraitSetPaused" ReturnType="void" ArgumentList="int p, bool isPaused">
         <![CDATA[native void         PortraitSetPaused (int p, bool isPaused);]]>
    </Native>
    <Native Name="PortraitSetTintColor" ReturnType="void" ArgumentList="int p, color inColor">
         <![CDATA[native void         PortraitSetTintColor (int p, color inColor);]]>
    </Native>
    <Native Name="PortraitSetLight" ReturnType="void" ArgumentList="int p, string lightLink">
         <![CDATA[native void         PortraitSetLight (int p, string lightLink);]]>
    </Native>
    <Native Name="PortraitSetTransitionModel" ReturnType="void" ArgumentList="int p, string modelLink">
         <![CDATA[native void         PortraitSetTransitionModel (int p, string modelLink);]]>
    </Native>
    <Native Name="PortraitVisible" ReturnType="bool" ArgumentList="int p, int player">
         <![CDATA[native bool         PortraitVisible (int p, int player);]]>
    </Native>
    <Native Name="PreloadAsset" ReturnType="void" ArgumentList="string key, bool queue">
         <![CDATA[native void PreloadAsset (string key, bool queue);]]>
    </Native>
    <Native Name="PreloadImage" ReturnType="void" ArgumentList="string path, bool queue">
         <![CDATA[native void PreloadImage (string path, bool queue);]]>
    </Native>
    <Native Name="PreloadModel" ReturnType="void" ArgumentList="string path, bool queue">
         <![CDATA[native void PreloadModel (string path, bool queue);]]>
    </Native>
    <Native Name="PreloadMovie" ReturnType="void" ArgumentList="string path, bool queue">
         <![CDATA[native void PreloadMovie (string path, bool queue);]]>
    </Native>
    <Native Name="PreloadObject" ReturnType="void" ArgumentList="int catalog, string id, bool queue">
         <![CDATA[native void PreloadObject (int catalog, string id, bool queue);]]>
    </Native>
    <Native Name="PreloadScene" ReturnType="void" ArgumentList="string path, bool queue">
         <![CDATA[native void PreloadScene (string path, bool queue);]]>
    </Native>
    <Native Name="PreloadScript" ReturnType="void" ArgumentList="string path, bool queue">
         <![CDATA[native void PreloadScript (string path, bool queue);]]>
    </Native>
    <Native Name="PreloadSound" ReturnType="void" ArgumentList="string path, bool queue">
         <![CDATA[native void PreloadSound (string path, bool queue);]]>
    </Native>
    <Variable Name="c_invalidPurchaseItemId" Type="int" Value="0">
         <![CDATA[const int c_invalidPurchaseItemId			= 0;]]>
    </Variable>
    <Variable Name="c_invalidPurchaseCategoryId" Type="int" Value="0">
         <![CDATA[const int c_invalidPurchaseCategoryId       = 0;]]>
    </Variable>
    <Variable Name="c_invalidPurchaseGroupId" Type="int" Value="0">
         <![CDATA[const int c_invalidPurchaseGroupId			= 0;]]>
    </Variable>
    <Variable Name="c_purchaseCategoryStateEnabled" Type="int" Value="0">
         <![CDATA[const int c_purchaseCategoryStateEnabled	= 0;]]>
    </Variable>
    <Variable Name="c_purchaseCategoryStateDisabled" Type="int" Value="1">
         <![CDATA[const int c_purchaseCategoryStateDisabled	= 1;]]>
    </Variable>
    <Variable Name="c_purchaseCategoryStateHidden" Type="int" Value="2">
         <![CDATA[const int c_purchaseCategoryStateHidden		= 2;]]>
    </Variable>
    <Variable Name="c_purchaseCategoryStateNew" Type="int" Value="3">
         <![CDATA[const int c_purchaseCategoryStateNew		= 3;]]>
    </Variable>
    <Variable Name="c_purchaseGroupStateEnabled" Type="int" Value="0">
         <![CDATA[const int c_purchaseGroupStateEnabled       = 0;]]>
    </Variable>
    <Variable Name="c_purchaseGroupStateDisabled" Type="int" Value="1">
         <![CDATA[const int c_purchaseGroupStateDisabled      = 1;]]>
    </Variable>
    <Variable Name="c_purchaseGroupStateHidden" Type="int" Value="2">
         <![CDATA[const int c_purchaseGroupStateHidden        = 2;]]>
    </Variable>
    <Variable Name="c_purchaseGroupStateNew" Type="int" Value="3">
         <![CDATA[const int c_purchaseGroupStateNew           = 3;]]>
    </Variable>
    <Variable Name="c_purchaseItemStateEnabled" Type="int" Value="0">
         <![CDATA[const int c_purchaseItemStateEnabled		= 0;]]>
    </Variable>
    <Variable Name="c_purchaseItemStateDisabled" Type="int" Value="1">
         <![CDATA[const int c_purchaseItemStateDisabled		= 1;]]>
    </Variable>
    <Variable Name="c_purchaseItemStatePurchased" Type="int" Value="2">
         <![CDATA[const int c_purchaseItemStatePurchased		= 2;]]>
    </Variable>
    <Variable Name="c_purchaseItemStateHidden" Type="int" Value="3">
         <![CDATA[const int c_purchaseItemStateHidden			= 3;]]>
    </Variable>
    <Native Name="PurchaseCategoryCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inSlot">
         <![CDATA[native int              PurchaseCategoryCreate (playergroup inPlayerGroup, int inSlot);]]>
    </Native>
    <Native Name="PurchaseCategoryLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int              PurchaseCategoryLastCreated ();]]>
    </Native>
    <Native Name="PurchaseCategoryDestroy" ReturnType="void" ArgumentList="int inPurchaseCategoryId">
         <![CDATA[native void             PurchaseCategoryDestroy (int inPurchaseCategoryId);]]>
    </Native>
    <Native Name="PurchaseCategoryDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void             PurchaseCategoryDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PurchaseCategorySetPlayerGroup" ReturnType="void" ArgumentList="int inPurchaseCategoryId, playergroup inPlayerGroup">
         <![CDATA[native void             PurchaseCategorySetPlayerGroup (int inPurchaseCategoryId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PurchaseCategorySetNameText" ReturnType="void" ArgumentList="int inPurchaseCategoryId, text inText">
         <![CDATA[native void             PurchaseCategorySetNameText (int inPurchaseCategoryId, text inText);]]>
    </Native>
    <Native Name="PurchaseCategorySetState" ReturnType="void" ArgumentList="int inPurchaseCategoryId, int inState">
         <![CDATA[native void             PurchaseCategorySetState (int inPurchaseCategoryId, int inState);]]>
    </Native>
    <Native Name="PurchaseCategorySetSlot" ReturnType="void" ArgumentList="int inPurchaseCategoryId, int inSlot">
         <![CDATA[native void             PurchaseCategorySetSlot (int inPurchaseCategoryId, int inSlot);]]>
    </Native>
    <Native Name="PurchaseSetSelectedPurchaseCategory" ReturnType="void" ArgumentList="playergroup inPlayerGroup, int inPurchaseCategoryId">
         <![CDATA[native void             PurchaseSetSelectedPurchaseCategory (playergroup inPlayerGroup, int inPurchaseCategoryId);]]>
    </Native>
    <Native Name="PurchaseGetSelectedPurchaseCategory" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int              PurchaseGetSelectedPurchaseCategory (int inPlayer);]]>
    </Native>
    <Native Name="PurchaseGroupCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inPurchaseCategoryId, int inSlot">
         <![CDATA[native int              PurchaseGroupCreate (playergroup inPlayerGroup, int inPurchaseCategoryId, int inSlot);]]>
    </Native>
    <Native Name="PurchaseGroupLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int              PurchaseGroupLastCreated ();]]>
    </Native>
    <Native Name="PurchaseGroupDestroy" ReturnType="void" ArgumentList="int inPurchaseGroupId">
         <![CDATA[native void             PurchaseGroupDestroy (int inPurchaseGroupId);]]>
    </Native>
    <Native Name="PurchaseGroupDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void             PurchaseGroupDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PurchaseGroupSetPlayerGroup" ReturnType="void" ArgumentList="int inPurchaseGroupId, playergroup inPlayerGroup">
         <![CDATA[native void             PurchaseGroupSetPlayerGroup (int inPurchaseGroupId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PurchaseGroupSetNameText" ReturnType="void" ArgumentList="int inPurchaseGroupId, text inText">
         <![CDATA[native void             PurchaseGroupSetNameText (int inPurchaseGroupId, text inText);]]>
    </Native>
    <Native Name="PurchaseGroupSetTooltipText" ReturnType="void" ArgumentList="int inPurchaseGroupId, text inText">
         <![CDATA[native void             PurchaseGroupSetTooltipText (int inPurchaseGroupId, text inText);]]>
    </Native>
    <Native Name="PurchaseGroupSetIconFilePath" ReturnType="void" ArgumentList="int inPurchaseGroupId, string inFilePath">
         <![CDATA[native void             PurchaseGroupSetIconFilePath (int inPurchaseGroupId, string inFilePath);]]>
    </Native>
    <Native Name="PurchaseGroupSetState" ReturnType="void" ArgumentList="int inPurchaseGroupId, int inState">
         <![CDATA[native void             PurchaseGroupSetState (int inPurchaseGroupId, int inState);]]>
    </Native>
    <Native Name="PurchaseGroupSetSlot" ReturnType="void" ArgumentList="int inPurchaseGroupId, int inSlot">
         <![CDATA[native void             PurchaseGroupSetSlot (int inPurchaseGroupId, int inSlot);]]>
    </Native>
    <Native Name="PurchaseGroupSetUnitLink" ReturnType="void" ArgumentList="int inPurchaseGroupId, string inUnitLink">
         <![CDATA[native void             PurchaseGroupSetUnitLink (int inPurchaseGroupId, string inUnitLink);]]>
    </Native>
    <Native Name="PurchaseItemCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inPurchaseGroupId, int inSlot">
         <![CDATA[native int              PurchaseItemCreate (playergroup inPlayerGroup, int inPurchaseGroupId, int inSlot);]]>
    </Native>
    <Native Name="PurchaseItemLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int              PurchaseItemLastCreated ();]]>
    </Native>
    <Native Name="PurchaseItemDestroy" ReturnType="void" ArgumentList="int inPurchaseItemId">
         <![CDATA[native void             PurchaseItemDestroy (int inPurchaseItemId);]]>
    </Native>
    <Native Name="PurchaseItemDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void             PurchaseItemDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PurchaseItemSetPlayerGroup" ReturnType="void" ArgumentList="int inPurchaseItemId, playergroup inPlayerGroup">
         <![CDATA[native void             PurchaseItemSetPlayerGroup (int inPurchaseItemId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="PurchaseItemSetNameText" ReturnType="void" ArgumentList="int inPurchaseItemId, text inText">
         <![CDATA[native void             PurchaseItemSetNameText (int inPurchaseItemId, text inText);]]>
    </Native>
    <Native Name="PurchaseItemSetTooltipText" ReturnType="void" ArgumentList="int inPurchaseItemId, text inText">
         <![CDATA[native void             PurchaseItemSetTooltipText (int inPurchaseItemId, text inText);]]>
    </Native>
    <Native Name="PurchaseItemSetDescriptionText" ReturnType="void" ArgumentList="int inPurchaseItemId, text inText">
         <![CDATA[native void             PurchaseItemSetDescriptionText (int inPurchaseItemId, text inText);]]>
    </Native>
    <Native Name="PurchaseItemSetIconFilePath" ReturnType="void" ArgumentList="int inPurchaseItemId, string inFilePath">
         <![CDATA[native void             PurchaseItemSetIconFilePath (int inPurchaseItemId, string inFilePath);]]>
    </Native>
    <Native Name="PurchaseItemSetMovieFilePath" ReturnType="void" ArgumentList="int inPurchaseItemId, string inFilePath">
         <![CDATA[native void             PurchaseItemSetMovieFilePath (int inPurchaseItemId, string inFilePath);]]>
    </Native>
    <Native Name="PurchaseItemSetCost" ReturnType="void" ArgumentList="int inPurchaseItemId, int inCost">
         <![CDATA[native void             PurchaseItemSetCost (int inPurchaseItemId, int inCost);]]>
    </Native>
    <Native Name="PurchaseItemSetState" ReturnType="void" ArgumentList="int inPurchaseItemId, int inState">
         <![CDATA[native void             PurchaseItemSetState (int inPurchaseItemId, int inState);]]>
    </Native>
    <Native Name="PurchaseItemSetRecentlyPurchased" ReturnType="void" ArgumentList="int inPurchaseItemId, bool inRecent">
         <![CDATA[native void             PurchaseItemSetRecentlyPurchased (int inPurchaseItemId, bool inRecent);]]>
    </Native>
    <Native Name="PurchaseItemSetSlot" ReturnType="void" ArgumentList="int inPurchaseItemId, int inSlot">
         <![CDATA[native void             PurchaseItemSetSlot (int inPurchaseItemId, int inSlot);]]>
    </Native>
    <Native Name="PurchaseItemPurchase" ReturnType="void" ArgumentList="int inPurchaseItemId">
         <![CDATA[native void             PurchaseItemPurchase (int inPurchaseItemId);]]>
    </Native>
    <Native Name="PurchaseItemIsRecentlyPurchased" ReturnType="bool" ArgumentList="int inPurchaseItemId">
         <![CDATA[native bool             PurchaseItemIsRecentlyPurchased (int inPurchaseItemId);]]>
    </Native>
    <Native Name="PurchaseSetSelectedPurchaseItem" ReturnType="void" ArgumentList="playergroup inPlayerGroup, int inPurchaseItemId">
         <![CDATA[native void             PurchaseSetSelectedPurchaseItem (playergroup inPlayerGroup, int inPurchaseItemId);]]>
    </Native>
    <Native Name="PurchaseGetSelectedPurchaseItem" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int              PurchaseGetSelectedPurchaseItem (int inPlayer);]]>
    </Native>
    <Native Name="TriggerAddEventPurchaseMade" ReturnType="void" ArgumentList="trigger t, int player, int inPurchaseItemId">
         <![CDATA[native void             TriggerAddEventPurchaseMade (trigger t, int player, int inPurchaseItemId);]]>
    </Native>
    <Native Name="TriggerAddEventPurchaseExit" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void             TriggerAddEventPurchaseExit (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventSelectedPurchaseItemChanged" ReturnType="void" ArgumentList="trigger t, int player, int inPurchaseItemId">
         <![CDATA[native void             TriggerAddEventSelectedPurchaseItemChanged (trigger t, int player, int inPurchaseItemId);]]>
    </Native>
    <Native Name="TriggerAddEventSelectedPurchaseCategoryChanged" ReturnType="void" ArgumentList="trigger t, int player, int inPurchaseCategoryId">
         <![CDATA[native void             TriggerAddEventSelectedPurchaseCategoryChanged (trigger t, int player, int inPurchaseCategoryId);]]>
    </Native>
    <Native Name="EventPurchaseMade" ReturnType="int" ArgumentList="">
         <![CDATA[native int              EventPurchaseMade ();]]>
    </Native>
    <Native Name="RegionEmpty" ReturnType="region" ArgumentList="">
         <![CDATA[native region RegionEmpty ();]]>
    </Native>
    <Native Name="RegionEntireMap" ReturnType="region" ArgumentList="">
         <![CDATA[native region RegionEntireMap ();]]>
    </Native>
    <Native Name="RegionPlayableMap" ReturnType="region" ArgumentList="">
         <![CDATA[native region RegionPlayableMap ();]]>
    </Native>
    <Native Name="RegionPlayableMapSet" ReturnType="void" ArgumentList="region r">
         <![CDATA[native void RegionPlayableMapSet (region r);]]>
    </Native>
    <Native Name="RegionRect" ReturnType="region" ArgumentList="fixed minx, fixed miny, fixed maxx, fixed maxy">
         <![CDATA[native region RegionRect (fixed minx, fixed miny, fixed maxx, fixed maxy);]]>
    </Native>
    <Native Name="RegionCircle" ReturnType="region" ArgumentList="point center, fixed radius">
         <![CDATA[native region RegionCircle (point center, fixed radius);]]>
    </Native>
    <Native Name="RegionFromId" ReturnType="region" ArgumentList="int id">
         <![CDATA[native region RegionFromId (int id);]]>
    </Native>
    <Native Name="RegionAddRect" ReturnType="void" ArgumentList="region r, bool positive, fixed minx, fixed miny, fixed maxx, fixed maxy">
         <![CDATA[native void RegionAddRect (region r, bool positive, fixed minx, fixed miny, fixed maxx, fixed maxy);]]>
    </Native>
    <Native Name="RegionAddCircle" ReturnType="void" ArgumentList="region r, bool positive, point center, fixed radius">
         <![CDATA[native void RegionAddCircle (region r, bool positive, point center, fixed radius);]]>
    </Native>
    <Native Name="RegionAddRegion" ReturnType="void" ArgumentList="region r, region regToAdd">
         <![CDATA[native void RegionAddRegion (region r, region regToAdd);]]>
    </Native>
    <Native Name="RegionSetOffset" ReturnType="void" ArgumentList="region r, point offset">
         <![CDATA[native void  RegionSetOffset (region r, point offset);]]>
    </Native>
    <Native Name="RegionGetOffset" ReturnType="point" ArgumentList="region r">
         <![CDATA[native point RegionGetOffset (region r);]]>
    </Native>
    <Native Name="RegionContainsPoint" ReturnType="bool" ArgumentList="region r, point p">
         <![CDATA[native bool RegionContainsPoint (region r, point p);]]>
    </Native>
    <Native Name="RegionRandomPoint" ReturnType="point" ArgumentList="region r">
         <![CDATA[native point RegionRandomPoint (region r);]]>
    </Native>
    <Native Name="RegionGetBoundsMin" ReturnType="point" ArgumentList="region r">
         <![CDATA[native point RegionGetBoundsMin (region r);]]>
    </Native>
    <Native Name="RegionGetBoundsMax" ReturnType="point" ArgumentList="region r">
         <![CDATA[native point RegionGetBoundsMax (region r);]]>
    </Native>
    <Native Name="RegionGetCenter" ReturnType="point" ArgumentList="region r">
         <![CDATA[native point RegionGetCenter (region r);]]>
    </Native>
    <Native Name="RegionSetCenter" ReturnType="void" ArgumentList="region r, point p">
         <![CDATA[native void RegionSetCenter (region r, point p);]]>
    </Native>
    <Native Name="RegionAttachToUnit" ReturnType="void" ArgumentList="region r, unit u, point offset">
         <![CDATA[native void RegionAttachToUnit (region r, unit u, point offset);]]>
    </Native>
    <Native Name="RegionGetAttachUnit" ReturnType="unit" ArgumentList="region r">
         <![CDATA[native unit RegionGetAttachUnit (region r);]]>
    </Native>
    <Variable Name="c_invalidResearchCategoryId" Type="int" Value="0">
         <![CDATA[const int c_invalidResearchCategoryId			= 0;]]>
    </Variable>
    <Variable Name="c_invalidResearchTierId" Type="int" Value="0">
         <![CDATA[const int c_invalidResearchTierId				= 0;]]>
    </Variable>
    <Variable Name="c_invalidResearchItemId" Type="int" Value="0">
         <![CDATA[const int c_invalidResearchItemId				= 0;]]>
    </Variable>
    <Variable Name="c_researchItemStateEnabled" Type="int" Value="0">
         <![CDATA[const int c_researchItemStateEnabled            = 0;]]>
    </Variable>
    <Variable Name="c_researchItemStateDisabled" Type="int" Value="1">
         <![CDATA[const int c_researchItemStateDisabled           = 1;]]>
    </Variable>
    <Variable Name="c_researchItemStatePurchased" Type="int" Value="2">
         <![CDATA[const int c_researchItemStatePurchased          = 2;]]>
    </Variable>
    <Native Name="ResearchCategoryCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inSlot">
         <![CDATA[native int          ResearchCategoryCreate (playergroup inPlayerGroup, int inSlot);]]>
    </Native>
    <Native Name="ResearchCategoryLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          ResearchCategoryLastCreated ();]]>
    </Native>
    <Native Name="ResearchCategoryDestroy" ReturnType="void" ArgumentList="int inResearchCategoryId">
         <![CDATA[native void         ResearchCategoryDestroy (int inResearchCategoryId);]]>
    </Native>
    <Native Name="ResearchCategoryDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void         ResearchCategoryDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="ResearchCategorySetPlayerGroup" ReturnType="void" ArgumentList="int inResearchCategoryId, playergroup inPlayerGroup">
         <![CDATA[native void         ResearchCategorySetPlayerGroup (int inResearchCategoryId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="ResearchCategorySetSlot" ReturnType="void" ArgumentList="int inResearchCategoryId, int inSlot">
         <![CDATA[native void         ResearchCategorySetSlot (int inResearchCategoryId, int inSlot);]]>
    </Native>
    <Native Name="ResearchCategorySetNameText" ReturnType="void" ArgumentList="int inResearchCategoryId, text inText">
         <![CDATA[native void         ResearchCategorySetNameText (int inResearchCategoryId, text inText);]]>
    </Native>
    <Native Name="ResearchCategorySetCurrentLevel" ReturnType="void" ArgumentList="int inResearchCategoryId, int inLevel">
         <![CDATA[native void         ResearchCategorySetCurrentLevel (int inResearchCategoryId, int inLevel);]]>
    </Native>
    <Native Name="ResearchCategorySetLastLevel" ReturnType="void" ArgumentList="int inResearchCategoryId, int inLevel">
         <![CDATA[native void         ResearchCategorySetLastLevel (int inResearchCategoryId, int inLevel);]]>
    </Native>
    <Native Name="ResearchTierCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inResearchCategoryId, int inSlot">
         <![CDATA[native int          ResearchTierCreate (playergroup inPlayerGroup, int inResearchCategoryId, int inSlot);]]>
    </Native>
    <Native Name="ResearchTierLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          ResearchTierLastCreated ();]]>
    </Native>
    <Native Name="ResearchTierDestroy" ReturnType="void" ArgumentList="int inResearchTierId">
         <![CDATA[native void         ResearchTierDestroy (int inResearchTierId);]]>
    </Native>
    <Native Name="ResearchTierDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void         ResearchTierDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="ResearchTierSetPlayerGroup" ReturnType="void" ArgumentList="int inResearchTierId, playergroup inPlayerGroup">
         <![CDATA[native void         ResearchTierSetPlayerGroup (int inResearchTierId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="ResearchTierSetSlot" ReturnType="void" ArgumentList="int inResearchTierId, int inSlot">
         <![CDATA[native void         ResearchTierSetSlot (int inResearchTierId, int inSlot);]]>
    </Native>
    <Native Name="ResearchTierSetRequiredLevel" ReturnType="void" ArgumentList="int inResearchTierId, int inLevel">
         <![CDATA[native void         ResearchTierSetRequiredLevel (int inResearchTierId, int inLevel);]]>
    </Native>
    <Native Name="ResearchTierSetMaxPurchasesAllowed" ReturnType="void" ArgumentList="int inResearchTierId, int inMax">
         <![CDATA[native void         ResearchTierSetMaxPurchasesAllowed (int inResearchTierId, int inMax);]]>
    </Native>
    <Native Name="ResearchItemCreate" ReturnType="int" ArgumentList="playergroup inPlayerGroup, int inResearchTierId, int inState">
         <![CDATA[native int          ResearchItemCreate (playergroup inPlayerGroup, int inResearchTierId, int inState);]]>
    </Native>
    <Native Name="ResearchItemLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int          ResearchItemLastCreated ();]]>
    </Native>
    <Native Name="ResearchItemDestroy" ReturnType="void" ArgumentList="int inResearchItemId">
         <![CDATA[native void         ResearchItemDestroy (int inResearchItemId);]]>
    </Native>
    <Native Name="ResearchItemDestroyAll" ReturnType="void" ArgumentList="playergroup inPlayerGroup">
         <![CDATA[native void         ResearchItemDestroyAll (playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="ResearchItemSetPlayerGroup" ReturnType="void" ArgumentList="int inResearchItemId, playergroup inPlayerGroup">
         <![CDATA[native void         ResearchItemSetPlayerGroup (int inResearchItemId, playergroup inPlayerGroup);]]>
    </Native>
    <Native Name="ResearchItemSetSlot" ReturnType="void" ArgumentList="int inResearchItemId, int inSlot">
         <![CDATA[native void         ResearchItemSetSlot (int inResearchItemId, int inSlot);]]>
    </Native>
    <Native Name="ResearchItemSetState" ReturnType="void" ArgumentList="int inResearchItemId, int inState">
         <![CDATA[native void         ResearchItemSetState (int inResearchItemId, int inState);]]>
    </Native>
    <Native Name="ResearchItemSetNameText" ReturnType="void" ArgumentList="int inResearchItemId, text inText">
         <![CDATA[native void         ResearchItemSetNameText (int inResearchItemId, text inText);]]>
    </Native>
    <Native Name="ResearchItemSetDescriptionText" ReturnType="void" ArgumentList="int inResearchItemId, text inText">
         <![CDATA[native void         ResearchItemSetDescriptionText (int inResearchItemId, text inText);]]>
    </Native>
    <Native Name="ResearchItemSetTooltipText" ReturnType="void" ArgumentList="int inResearchItemId, text inText">
         <![CDATA[native void         ResearchItemSetTooltipText (int inResearchItemId, text inText);]]>
    </Native>
    <Native Name="ResearchItemSetConfirmationText" ReturnType="void" ArgumentList="int inResearchItemId, text inText">
         <![CDATA[native void         ResearchItemSetConfirmationText (int inResearchItemId, text inText);]]>
    </Native>
    <Native Name="ResearchItemSetIconFilePath" ReturnType="void" ArgumentList="int inResearchItemId, string inFilePath">
         <![CDATA[native void         ResearchItemSetIconFilePath (int inResearchItemId, string inFilePath);]]>
    </Native>
    <Native Name="ResearchItemSetMovieFilePath" ReturnType="void" ArgumentList="int inResearchItemId, string inFilePath">
         <![CDATA[native void         ResearchItemSetMovieFilePath (int inResearchItemId, string inFilePath);]]>
    </Native>
    <Native Name="ResearchItemSetRecentlyPurchased" ReturnType="void" ArgumentList="int inResearchItemId, bool inRecent">
         <![CDATA[native void         ResearchItemSetRecentlyPurchased (int inResearchItemId, bool inRecent);]]>
    </Native>
    <Native Name="ResearchItemIsRecentlyPurchased" ReturnType="bool" ArgumentList="int inResearchItemId">
         <![CDATA[native bool         ResearchItemIsRecentlyPurchased (int inResearchItemId);]]>
    </Native>
    <Native Name="ResearchItemPurchase" ReturnType="void" ArgumentList="int inResearchItemId">
         <![CDATA[native void			ResearchItemPurchase (int inResearchItemId);]]>
    </Native>
    <Native Name="ResearchItemSetSelected" ReturnType="void" ArgumentList="playergroup inPlayerGroup, int inResearchItemId">
         <![CDATA[native void         ResearchItemSetSelected (playergroup inPlayerGroup, int inResearchItemId);]]>
    </Native>
    <Native Name="ResearchItemGetSelected" ReturnType="int" ArgumentList="int inPlayer">
         <![CDATA[native int          ResearchItemGetSelected (int inPlayer);]]>
    </Native>
    <Native Name="TriggerAddEventResearchPanelExit" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventResearchPanelExit (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventResearchPanelPurchase" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventResearchPanelPurchase (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventResearchPanelSelectionChanged" ReturnType="void" ArgumentList="trigger t, int player, int inResearchItemId">
         <![CDATA[native void         TriggerAddEventResearchPanelSelectionChanged (trigger t, int player, int inResearchItemId);]]>
    </Native>
    <Variable Name="c_soundIndexAny" Type="int" Value="-1">
         <![CDATA[const int c_soundIndexAny = -1;]]>
    </Variable>
    <Native Name="SoundLink" ReturnType="soundlink" ArgumentList="string soundId, int soundIndex">
         <![CDATA[native soundlink SoundLink (string soundId, int soundIndex);]]>
    </Native>
    <Native Name="SoundLinkId" ReturnType="string" ArgumentList="soundlink soundId">
         <![CDATA[native string SoundLinkId (soundlink soundId);]]>
    </Native>
    <Native Name="SoundLinkAsset" ReturnType="int" ArgumentList="soundlink soundId">
         <![CDATA[native int SoundLinkAsset (soundlink soundId);]]>
    </Native>
    <Native Name="SoundPlay" ReturnType="void" ArgumentList="soundlink link, playergroup players, fixed volume, fixed offset">
         <![CDATA[native void SoundPlay (
    soundlink link,
    playergroup players,
    fixed volume,
    fixed offset
);]]>
    </Native>
    <Native Name="SoundPlayAtPoint" ReturnType="void" ArgumentList="soundlink link, playergroup players, point inPoint, fixed height, fixed volume, fixed offset">
         <![CDATA[native void SoundPlayAtPoint (
    soundlink link,
    playergroup players,
    point inPoint,
    fixed height,
    fixed volume,
    fixed offset
);]]>
    </Native>
    <Native Name="SoundPlayOnUnit" ReturnType="void" ArgumentList="soundlink link, playergroup players, unit inUnit, fixed height, fixed volume, fixed offset">
         <![CDATA[native void SoundPlayOnUnit (
    soundlink link,
    playergroup players,
    unit inUnit,
    fixed height,
    fixed volume,
    fixed offset
);]]>
    </Native>
    <Native Name="SoundPlayScene" ReturnType="void" ArgumentList="soundlink link, playergroup players, unitgroup units, string animProps">
         <![CDATA[native void SoundPlayScene (
    soundlink link,
    playergroup players,
    unitgroup units,
    string animProps
);]]>
    </Native>
    <Native Name="SoundPlaySceneFile" ReturnType="void" ArgumentList="soundlink link, playergroup players, string sceneFile, string camera">
         <![CDATA[native void SoundPlaySceneFile (
    soundlink link,
    playergroup players,
    string sceneFile,
    string camera
);]]>
    </Native>
    <Native Name="SoundLastPlayed" ReturnType="sound" ArgumentList="">
         <![CDATA[native sound    SoundLastPlayed ();]]>
    </Native>
    <Native Name="SoundStop" ReturnType="void" ArgumentList="sound s, bool fade">
         <![CDATA[native void     SoundStop (sound s, bool fade);]]>
    </Native>
    <Native Name="SoundStopAllModelSounds" ReturnType="void" ArgumentList="">
         <![CDATA[native void     SoundStopAllModelSounds ();]]>
    </Native>
    <Native Name="SoundStopAllTriggerSounds" ReturnType="void" ArgumentList="bool fade">
         <![CDATA[native void     SoundStopAllTriggerSounds (bool fade);]]>
    </Native>
    <Native Name="SoundSetVolume" ReturnType="void" ArgumentList="sound s, fixed volume">
         <![CDATA[native void     SoundSetVolume (sound s, fixed volume);]]>
    </Native>
    <Native Name="SoundSetPosition" ReturnType="void" ArgumentList="sound s, point position, fixed height">
         <![CDATA[native void     SoundSetPosition (sound s, point position, fixed height);]]>
    </Native>
    <Variable Name="c_soundOffsetStart" Type="int" Value="0">
         <![CDATA[const int c_soundOffsetStart    = 0;]]>
    </Variable>
    <Variable Name="c_soundOffsetEnd" Type="int" Value="1">
         <![CDATA[const int c_soundOffsetEnd      = 1;]]>
    </Variable>
    <Native Name="SoundSetOffset" ReturnType="void" ArgumentList="sound s, fixed offset, int offsetType">
         <![CDATA[native void     SoundSetOffset (sound s, fixed offset, int offsetType);]]>
    </Native>
    <Native Name="SoundWait" ReturnType="void" ArgumentList="sound s, fixed offset, int offsetType">
         <![CDATA[native void     SoundWait (sound s, fixed offset, int offsetType);]]>
    </Native>
    <Native Name="SoundAttachUnit" ReturnType="void" ArgumentList="sound s, unit u, fixed height">
         <![CDATA[native void     SoundAttachUnit (sound s, unit u, fixed height);]]>
    </Native>
    <Native Name="SoundLengthQuery" ReturnType="void" ArgumentList="soundlink info">
         <![CDATA[native void     SoundLengthQuery (soundlink info);]]>
    </Native>
    <Native Name="SoundLengthQueryWait" ReturnType="void" ArgumentList="">
         <![CDATA[native void     SoundLengthQueryWait ();]]>
    </Native>
    <Native Name="SoundLengthSync" ReturnType="fixed" ArgumentList="soundlink info">
         <![CDATA[native fixed    SoundLengthSync (soundlink info);]]>
    </Native>
    <Native Name="SoundChannelSetVolume" ReturnType="void" ArgumentList="playergroup players, int channel, fixed volume, fixed duration">
         <![CDATA[native void     SoundChannelSetVolume (playergroup players, int channel, fixed volume, fixed duration);]]>
    </Native>
    <Native Name="SoundChannelMute" ReturnType="void" ArgumentList="playergroup players, int channel, bool mute">
         <![CDATA[native void     SoundChannelMute (playergroup players, int channel, bool mute);]]>
    </Native>
    <Native Name="SoundChannelPause" ReturnType="void" ArgumentList="playergroup players, int channel, bool pause">
         <![CDATA[native void     SoundChannelPause (playergroup players, int channel, bool pause);]]>
    </Native>
    <Native Name="SoundChannelStop" ReturnType="void" ArgumentList="playergroup players, int channel">
         <![CDATA[native void     SoundChannelStop (playergroup players, int channel);]]>
    </Native>
    <Native Name="SoundSetReverb" ReturnType="void" ArgumentList="string inReverbLink, fixed inDuration, bool inAmbient, bool inGlobal">
         <![CDATA[native void     SoundSetReverb (string inReverbLink, fixed inDuration, bool inAmbient, bool inGlobal);]]>
    </Native>
    <Native Name="SoundSetFactors" ReturnType="void" ArgumentList="fixed distance, fixed doppler, fixed rolloff">
         <![CDATA[native void     SoundSetFactors (fixed distance, fixed doppler, fixed rolloff);]]>
    </Native>
    <Native Name="SoundSubtitleText" ReturnType="text" ArgumentList="soundlink link">
         <![CDATA[native text     SoundSubtitleText (soundlink link);]]>
    </Native>
    <Variable Name="c_soundtrackCueAny" Type="int" Value="-1">
         <![CDATA[const int c_soundtrackCueAny = -1;]]>
    </Variable>
    <Variable Name="c_soundtrackIndexAny" Type="int" Value="-1">
         <![CDATA[const int c_soundtrackIndexAny = -1;]]>
    </Variable>
    <Native Name="SoundtrackDefault" ReturnType="void" ArgumentList="playergroup players, int category, string soundtrack, int cue, int index">
         <![CDATA[native void     SoundtrackDefault (playergroup players, int category, string soundtrack, int cue, int index);]]>
    </Native>
    <Native Name="SoundtrackPlay" ReturnType="void" ArgumentList="playergroup players, int category, string soundtrack, int cue, int index, bool makeDefault">
         <![CDATA[native void     SoundtrackPlay (playergroup players, int category, string soundtrack, int cue, int index, bool makeDefault);]]>
    </Native>
    <Native Name="SoundtrackPause" ReturnType="void" ArgumentList="playergroup players, int category, bool pause, bool fade">
         <![CDATA[native void     SoundtrackPause (playergroup players, int category, bool pause, bool fade);]]>
    </Native>
    <Native Name="SoundtrackSetContinuous" ReturnType="void" ArgumentList="playergroup players, int category, bool continuous">
         <![CDATA[native void     SoundtrackSetContinuous (playergroup players, int category, bool continuous);]]>
    </Native>
    <Native Name="SoundtrackSetDelay" ReturnType="void" ArgumentList="playergroup players, int category, fixed delay">
         <![CDATA[native void     SoundtrackSetDelay (playergroup players, int category, fixed delay);]]>
    </Native>
    <Native Name="SoundtrackStop" ReturnType="void" ArgumentList="playergroup players, int category, bool fade">
         <![CDATA[native void     SoundtrackStop (playergroup players, int category, bool fade);]]>
    </Native>
    <Native Name="SoundtrackWait" ReturnType="void" ArgumentList="string soundtrack">
         <![CDATA[native void     SoundtrackWait (string soundtrack);]]>
    </Native>
    <Native Name="StoryMode" ReturnType="void" ArgumentList="playergroup players, bool storyMode">
         <![CDATA[native void     StoryMode (playergroup players, bool storyMode);]]>
    </Native>
    <Native Name="StringLength" ReturnType="int" ArgumentList="string s">
         <![CDATA[native int      StringLength (string s);]]>
    </Native>
    <Native Name="StringCase" ReturnType="string" ArgumentList="string s, bool upper">
         <![CDATA[native string   StringCase (string s, bool upper);]]>
    </Native>
    <Native Name="TextCase" ReturnType="text" ArgumentList="text t, bool upper">
         <![CDATA[native text     TextCase (text t, bool upper);]]>
    </Native>
    <Native Name="StringSub" ReturnType="string" ArgumentList="string s, int start, int end">
         <![CDATA[native string   StringSub (string s, int start, int end);]]>
    </Native>
    <Variable Name="c_stringCase" Type="bool" Value="true">
         <![CDATA[const bool c_stringCase = true;]]>
    </Variable>
    <Variable Name="c_stringNoCase" Type="bool" Value="false">
         <![CDATA[const bool c_stringNoCase = false;]]>
    </Variable>
    <Native Name="StringEqual" ReturnType="bool" ArgumentList="string s1, string s2, bool caseSens">
         <![CDATA[native bool     StringEqual (string s1, string s2, bool caseSens);]]>
    </Native>
    <Variable Name="c_stringNotFound" Type="int" Value="-1">
         <![CDATA[const int c_stringNotFound  = -1;]]>
    </Variable>
    <Native Name="StringFind" ReturnType="int" ArgumentList="string s1, string s2, bool caseSens">
         <![CDATA[native int      StringFind (string s1, string s2, bool caseSens);]]>
    </Native>
    <Variable Name="c_stringBegin" Type="int" Value="0">
         <![CDATA[const int c_stringBegin     = 0;]]>
    </Variable>
    <Variable Name="c_stringEnd" Type="int" Value="1">
         <![CDATA[const int c_stringEnd       = 1;]]>
    </Variable>
    <Variable Name="c_stringAnywhere" Type="int" Value="2">
         <![CDATA[const int c_stringAnywhere  = 2;]]>
    </Variable>
    <Native Name="StringContains" ReturnType="bool" ArgumentList="string s1, string s2, int location, bool caseSens">
         <![CDATA[native bool     StringContains (string s1, string s2, int location, bool caseSens);]]>
    </Native>
    <Native Name="StringWord" ReturnType="string" ArgumentList="string s, int index">
         <![CDATA[native string   StringWord (string s, int index);]]>
    </Native>
    <Native Name="StringReplace" ReturnType="string" ArgumentList="string s, string replace, int start, int end">
         <![CDATA[native string   StringReplace (string s, string replace, int start, int end);]]>
    </Native>
    <Variable Name="c_stringReplaceAll" Type="int" Value="-1">
         <![CDATA[const int c_stringReplaceAll    = -1;]]>
    </Variable>
    <Native Name="StringReplaceWord" ReturnType="string" ArgumentList="string s, string word, string replace, int maxCount, bool caseSens">
         <![CDATA[native string   StringReplaceWord (string s, string word, string replace, int maxCount, bool caseSens);]]>
    </Native>
    <Native Name="TextReplaceWord" ReturnType="text" ArgumentList="text t, text word, text replace, int maxCount, bool caseSens">
         <![CDATA[native text     TextReplaceWord (text t, text word, text replace, int maxCount, bool caseSens);]]>
    </Native>
    <Native Name="StringExternal" ReturnType="text" ArgumentList="string s">
         <![CDATA[native text     StringExternal (string s);]]>
    </Native>
    <Native Name="StringToText" ReturnType="text" ArgumentList="string s">
         <![CDATA[native text     StringToText (string s);]]>
    </Native>
    <Native Name="TextWithColor" ReturnType="text" ArgumentList="text t, color c">
         <![CDATA[native text     TextWithColor (text t, color c);]]>
    </Native>
    <Native Name="TextTimeFormat" ReturnType="text" ArgumentList="text inFormat, int inSecs">
         <![CDATA[native text     TextTimeFormat (text inFormat, int inSecs);]]>
    </Native>
    <Variable Name="c_techCountQueuedOnly" Type="int" Value="0">
         <![CDATA[const int c_techCountQueuedOnly         = 0;]]>
    </Variable>
    <Variable Name="c_techCountQueuedOrBetter" Type="int" Value="1">
         <![CDATA[const int c_techCountQueuedOrBetter     = 1;]]>
    </Variable>
    <Variable Name="c_techCountInProgressOnly" Type="int" Value="2">
         <![CDATA[const int c_techCountInProgressOnly     = 2;]]>
    </Variable>
    <Variable Name="c_techCountInProgressOrBetter" Type="int" Value="3">
         <![CDATA[const int c_techCountInProgressOrBetter = 3;]]>
    </Variable>
    <Variable Name="c_techCountCompleteOnly" Type="int" Value="4">
         <![CDATA[const int c_techCountCompleteOnly       = 4;]]>
    </Variable>
    <Variable Name="c_techCountIncompleteOnly" Type="int" Value="5">
         <![CDATA[const int c_techCountIncompleteOnly     = 5;]]>
    </Variable>
    <Native Name="TechTreeAbilityAllow" ReturnType="void" ArgumentList="int player, abilcmd inAbilCmd, bool allow">
         <![CDATA[native void     TechTreeAbilityAllow (int player, abilcmd inAbilCmd, bool allow);]]>
    </Native>
    <Native Name="TechTreeAbilityCount" ReturnType="int" ArgumentList="int player, string abilType, int countType">
         <![CDATA[native int      TechTreeAbilityCount (int player, string abilType, int countType);]]>
    </Native>
    <Native Name="TechTreeAbilityIsAllowed" ReturnType="bool" ArgumentList="int player, abilcmd inAbilCmd">
         <![CDATA[native bool     TechTreeAbilityIsAllowed (int player, abilcmd inAbilCmd);]]>
    </Native>
    <Native Name="TechTreeBehaviorAllow" ReturnType="void" ArgumentList="int player, string behaviorType, bool allow">
         <![CDATA[native void     TechTreeBehaviorAllow (int player, string behaviorType, bool allow);]]>
    </Native>
    <Native Name="TechTreeBehaviorCount" ReturnType="int" ArgumentList="int player, string behaviorType, int countType">
         <![CDATA[native int      TechTreeBehaviorCount (int player, string behaviorType, int countType);]]>
    </Native>
    <Native Name="TechTreeBehaviorIsAllowed" ReturnType="bool" ArgumentList="int player, string behaviorType">
         <![CDATA[native bool     TechTreeBehaviorIsAllowed (int player, string behaviorType);]]>
    </Native>
    <Native Name="TechTreeBehaviorProducedAbilCmd" ReturnType="abilcmd" ArgumentList="string behaviorType, int index">
         <![CDATA[native abilcmd  TechTreeBehaviorProducedAbilCmd (string behaviorType, int index);]]>
    </Native>
    <Native Name="TechTreeBehaviorProducedAbilCmdCount" ReturnType="int" ArgumentList="string behaviorType">
         <![CDATA[native int      TechTreeBehaviorProducedAbilCmdCount (string behaviorType);]]>
    </Native>
    <Native Name="TechTreeRequirementsEnable" ReturnType="void" ArgumentList="int player, bool enable">
         <![CDATA[native void     TechTreeRequirementsEnable (int player, bool enable);]]>
    </Native>
    <Native Name="TechTreeRequirementsEnabled" ReturnType="bool" ArgumentList="int player">
         <![CDATA[native bool     TechTreeRequirementsEnabled (int player);]]>
    </Native>
    <Native Name="TechTreeRestrictionsEnable" ReturnType="void" ArgumentList="int player, bool enable">
         <![CDATA[native void     TechTreeRestrictionsEnable (int player, bool enable);]]>
    </Native>
    <Native Name="TechTreeRestrictionsEnabled" ReturnType="bool" ArgumentList="int player">
         <![CDATA[native bool     TechTreeRestrictionsEnabled (int player);]]>
    </Native>
    <Native Name="TechTreeUnitAllow" ReturnType="void" ArgumentList="int player, string unitType, bool allow">
         <![CDATA[native void     TechTreeUnitAllow (int player, string unitType, bool allow);]]>
    </Native>
    <Native Name="TechTreeUnitCount" ReturnType="int" ArgumentList="int player, string unitType, int countType">
         <![CDATA[native int      TechTreeUnitCount (int player, string unitType, int countType);]]>
    </Native>
    <Native Name="TechTreeUnitAliasCount" ReturnType="int" ArgumentList="int player, string unitType, int countType">
         <![CDATA[native int      TechTreeUnitAliasCount (int player, string unitType, int countType);]]>
    </Native>
    <Native Name="TechTreeUnitCountEx" ReturnType="int" ArgumentList="int player, string unitType, string equivType, int countType">
         <![CDATA[native int      TechTreeUnitCountEx (int player, string unitType, string equivType, int countType);]]>
    </Native>
    <Native Name="TechTreeUnitIsAllowed" ReturnType="bool" ArgumentList="int player, string unitType">
         <![CDATA[native bool     TechTreeUnitIsAllowed (int player, string unitType);]]>
    </Native>
    <Native Name="TechTreeUnitHelp" ReturnType="void" ArgumentList="int player, string unitType, bool display">
         <![CDATA[native void     TechTreeUnitHelp (int player, string unitType, bool display);]]>
    </Native>
    <Native Name="TechTreeUnitHelpDefault" ReturnType="void" ArgumentList="int player, bool display">
         <![CDATA[native void     TechTreeUnitHelpDefault (int player, bool display);]]>
    </Native>
    <Native Name="TechTreeUnitProducedAbilCmd" ReturnType="abilcmd" ArgumentList="string unitType, int index">
         <![CDATA[native abilcmd  TechTreeUnitProducedAbilCmd (string unitType, int index);]]>
    </Native>
    <Native Name="TechTreeUnitProducedAbilCmdCount" ReturnType="int" ArgumentList="string unitType">
         <![CDATA[native int      TechTreeUnitProducedAbilCmdCount (string unitType);]]>
    </Native>
    <Native Name="TechTreeUnitProducesUnit" ReturnType="string" ArgumentList="string unitType, int index">
         <![CDATA[native string   TechTreeUnitProducesUnit (string unitType, int index);]]>
    </Native>
    <Native Name="TechTreeUnitProducesUnitCount" ReturnType="int" ArgumentList="string unitType">
         <![CDATA[native int      TechTreeUnitProducesUnitCount (string unitType);]]>
    </Native>
    <Native Name="TechTreeUnitProducesUpgrade" ReturnType="string" ArgumentList="string unitType, int index">
         <![CDATA[native string   TechTreeUnitProducesUpgrade (string unitType, int index);]]>
    </Native>
    <Native Name="TechTreeUnitProducesUpgradeCount" ReturnType="int" ArgumentList="string unitType">
         <![CDATA[native int      TechTreeUnitProducesUpgradeCount (string unitType);]]>
    </Native>
    <Native Name="TechTreeUpgradeAddLevel" ReturnType="void" ArgumentList="int player, string upgradeType, int levels">
         <![CDATA[native void     TechTreeUpgradeAddLevel (int player, string upgradeType, int levels);]]>
    </Native>
    <Native Name="TechTreeUpgradeAllow" ReturnType="void" ArgumentList="int player, string upgradeType, bool allow">
         <![CDATA[native void     TechTreeUpgradeAllow (int player, string upgradeType, bool allow);]]>
    </Native>
    <Native Name="TechTreeUpgradeCount" ReturnType="int" ArgumentList="int player, string upgradeType, int countType">
         <![CDATA[native int      TechTreeUpgradeCount (int player, string upgradeType, int countType);]]>
    </Native>
    <Native Name="TechTreeUpgradeIsAllowed" ReturnType="bool" ArgumentList="int player, string upgradeType">
         <![CDATA[native bool     TechTreeUpgradeIsAllowed (int player, string upgradeType);]]>
    </Native>
    <Native Name="TechTreeUpgradeProducedAbilCmd" ReturnType="abilcmd" ArgumentList="string upgradeType, int index">
         <![CDATA[native abilcmd  TechTreeUpgradeProducedAbilCmd (string upgradeType, int index);]]>
    </Native>
    <Native Name="TechTreeUpgradeProducedAbilCmdCount" ReturnType="int" ArgumentList="string upgradeType">
         <![CDATA[native int      TechTreeUpgradeProducedAbilCmdCount (string upgradeType);]]>
    </Native>
    <Variable Name="c_textTagNone" Type="int" Value="0">
         <![CDATA[const int c_textTagNone = 0;]]>
    </Variable>
    <Variable Name="c_textTagEdgeTop" Type="int" Value="0">
         <![CDATA[const int c_textTagEdgeTop      = 0;]]>
    </Variable>
    <Variable Name="c_textTagEdgeLeft" Type="int" Value="1">
         <![CDATA[const int c_textTagEdgeLeft     = 1;]]>
    </Variable>
    <Variable Name="c_textTagEdgeBottom" Type="int" Value="2">
         <![CDATA[const int c_textTagEdgeBottom   = 2;]]>
    </Variable>
    <Variable Name="c_textTagEdgeRight" Type="int" Value="3">
         <![CDATA[const int c_textTagEdgeRight    = 3;]]>
    </Variable>
    <Native Name="TextTagCreate" ReturnType="int" ArgumentList="text inText, int inFontSize, point inPoint, fixed inHeightOffset, bool inShow, bool useFogofWar, playergroup inPlayers">
         <![CDATA[native int      TextTagCreate (
                    text inText,
                    int inFontSize,
                    point inPoint,
                    fixed inHeightOffset,
                    bool inShow,
                    bool useFogofWar,
                    playergroup inPlayers
                );]]>
    </Native>
    <Native Name="TextTagLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int      TextTagLastCreated ();]]>
    </Native>
    <Native Name="TextTagDestroy" ReturnType="void" ArgumentList="int inTag">
         <![CDATA[native void     TextTagDestroy (int inTag);]]>
    </Native>
    <Native Name="TextTagSetText" ReturnType="void" ArgumentList="int inTag, text inText">
         <![CDATA[native void     TextTagSetText (int inTag, text inText);]]>
    </Native>
    <Native Name="TextTagSetTextShadow" ReturnType="void" ArgumentList="int inTag, bool inVal">
         <![CDATA[native void     TextTagSetTextShadow (int inTag, bool inVal);]]>
    </Native>
    <Native Name="TextTagSetFontSize" ReturnType="void" ArgumentList="int inTag, int inFontSize">
         <![CDATA[native void     TextTagSetFontSize (int inTag, int inFontSize);]]>
    </Native>
    <Native Name="TextTagSetPosition" ReturnType="void" ArgumentList="int inTag, point inPoint, fixed inHeightOffset">
         <![CDATA[native void     TextTagSetPosition (int inTag, point inPoint, fixed inHeightOffset);]]>
    </Native>
    <Native Name="TextTagAttachToUnit" ReturnType="void" ArgumentList="int inTag, unit inUnit, fixed inHeightOffset">
         <![CDATA[native void     TextTagAttachToUnit (int inTag, unit inUnit, fixed inHeightOffset);]]>
    </Native>
    <Native Name="TextTagAttachToUnitPoint" ReturnType="void" ArgumentList="int inTag, unit inUnit, string attachmentPoint, int offsetX, int offsetY">
         <![CDATA[native void     TextTagAttachToUnitPoint (int inTag, unit inUnit, string attachmentPoint, int offsetX, int offsetY);]]>
    </Native>
    <Native Name="TextTagSetVelocity" ReturnType="void" ArgumentList="int inTag, fixed inSpeed, fixed inAngle">
         <![CDATA[native void     TextTagSetVelocity (int inTag, fixed inSpeed, fixed inAngle);]]>
    </Native>
    <Native Name="TextTagSetAlignment" ReturnType="void" ArgumentList="int inTag, int inHoriz, int inVert">
         <![CDATA[native void     TextTagSetAlignment (int inTag, int inHoriz, int inVert);]]>
    </Native>
    <Native Name="TextTagSetTextAlignment" ReturnType="void" ArgumentList="int inTag, int inHoriz, int inVert">
         <![CDATA[native void     TextTagSetTextAlignment (int inTag, int inHoriz, int inVert);]]>
    </Native>
    <Native Name="TextTagSetMaxSize" ReturnType="void" ArgumentList="int inTag, fixed inWidth, fixed inHeight">
         <![CDATA[native void     TextTagSetMaxSize (int inTag, fixed inWidth, fixed inHeight);]]>
    </Native>
    <Native Name="TextTagShowBackground" ReturnType="void" ArgumentList="int inTag, bool inShow">
         <![CDATA[native void     TextTagShowBackground (int inTag, bool inShow);]]>
    </Native>
    <Native Name="TextTagSetBackgroundImage" ReturnType="void" ArgumentList="int inTag, string inPath, bool inTiled">
         <![CDATA[native void     TextTagSetBackgroundImage (int inTag, string inPath, bool inTiled);]]>
    </Native>
    <Native Name="TextTagSetBackgroundBorderSize" ReturnType="void" ArgumentList="int inTag, fixed inX, fixed inY">
         <![CDATA[native void     TextTagSetBackgroundBorderSize (int inTag, fixed inX, fixed inY);]]>
    </Native>
    <Native Name="TextTagSetBackgroundOffset" ReturnType="void" ArgumentList="int inTag, fixed inX, fixed inY">
         <![CDATA[native void     TextTagSetBackgroundOffset (int inTag, fixed inX, fixed inY);]]>
    </Native>
    <Native Name="TextTagSetEdgeImage" ReturnType="void" ArgumentList="int inTag, int inEdge, string inPath, int inXOffset, int inYOffset">
         <![CDATA[native void     TextTagSetEdgeImage (int inTag, int inEdge, string inPath, int inXOffset, int inYOffset);]]>
    </Native>
    <Native Name="TextTagShow" ReturnType="void" ArgumentList="int inTag, playergroup inPlayers, bool inShow">
         <![CDATA[native void     TextTagShow (int inTag, playergroup inPlayers, bool inShow);]]>
    </Native>
    <Native Name="TextTagVisible" ReturnType="bool" ArgumentList="int inTag, int inPlayer">
         <![CDATA[native bool     TextTagVisible (int inTag, int inPlayer);]]>
    </Native>
    <Native Name="TextTagPause" ReturnType="void" ArgumentList="int inTag, bool inPause">
         <![CDATA[native void     TextTagPause (int inTag, bool inPause);]]>
    </Native>
    <Native Name="TextTagFogofWar" ReturnType="void" ArgumentList="int inTag, bool inPause">
         <![CDATA[native void     TextTagFogofWar (int inTag, bool inPause);]]>
    </Native>
    <Variable Name="c_textTagColorText" Type="int" Value="-1">
         <![CDATA[const int c_textTagColorText            = -1;]]>
    </Variable>
    <Variable Name="c_textTagColorTextStart" Type="int" Value="0">
         <![CDATA[const int c_textTagColorTextStart       =  0;]]>
    </Variable>
    <Variable Name="c_textTagColorTextEnd" Type="int" Value="1">
         <![CDATA[const int c_textTagColorTextEnd         =  1;]]>
    </Variable>
    <Variable Name="c_textTagColorBackground" Type="int" Value="-2">
         <![CDATA[const int c_textTagColorBackground      = -2;]]>
    </Variable>
    <Variable Name="c_textTagColorBackgroundStart" Type="int" Value="2">
         <![CDATA[const int c_textTagColorBackgroundStart =  2;]]>
    </Variable>
    <Variable Name="c_textTagColorBackgroundEnd" Type="int" Value="3">
         <![CDATA[const int c_textTagColorBackgroundEnd   =  3;]]>
    </Variable>
    <Variable Name="c_textTagColorEdge" Type="int" Value="-3">
         <![CDATA[const int c_textTagColorEdge            = -3;]]>
    </Variable>
    <Variable Name="c_textTagColorEdgeStart" Type="int" Value="4">
         <![CDATA[const int c_textTagColorEdgeStart       =  4;]]>
    </Variable>
    <Variable Name="c_textTagColorEdgeEnd" Type="int" Value="5">
         <![CDATA[const int c_textTagColorEdgeEnd         =  5;]]>
    </Variable>
    <Native Name="TextTagSetColor" ReturnType="void" ArgumentList="int inTag, int inType, color inColor">
         <![CDATA[native void     TextTagSetColor (int inTag, int inType, color inColor);]]>
    </Native>
    <Variable Name="c_textTagFadeAll" Type="int" Value="-1">
         <![CDATA[const int c_textTagFadeAll          = -1;]]>
    </Variable>
    <Variable Name="c_textTagFadeText" Type="int" Value="0">
         <![CDATA[const int c_textTagFadeText         =  0;]]>
    </Variable>
    <Variable Name="c_textTagFadeBackground" Type="int" Value="1">
         <![CDATA[const int c_textTagFadeBackground   =  1;]]>
    </Variable>
    <Variable Name="c_textTagFadeEdge" Type="int" Value="2">
         <![CDATA[const int c_textTagFadeEdge         =  2;]]>
    </Variable>
    <Native Name="TextTagSetFadedTransparency" ReturnType="void" ArgumentList="int inTag, int inType, fixed inTransparency">
         <![CDATA[native void     TextTagSetFadedTransparency (int inTag, int inType, fixed inTransparency);]]>
    </Native>
    <Variable Name="c_textTagTimeDuration" Type="int" Value="0">
         <![CDATA[const int c_textTagTimeDuration     = 0;]]>
    </Variable>
    <Variable Name="c_textTagTimeFadeOut" Type="int" Value="1">
         <![CDATA[const int c_textTagTimeFadeOut      = 1;]]>
    </Variable>
    <Variable Name="c_textTagTimeFadeDuration" Type="int" Value="2">
         <![CDATA[const int c_textTagTimeFadeDuration = 2;]]>
    </Variable>
    <Variable Name="c_textTagTimeCurrent" Type="int" Value="3">
         <![CDATA[const int c_textTagTimeCurrent      = 3;]]>
    </Variable>
    <Variable Name="c_textTagTimePermanent" Type="fixed" Value="0">
         <![CDATA[const fixed c_textTagTimePermanent  = 0;]]>
    </Variable>
    <Native Name="TextTagSetTime" ReturnType="void" ArgumentList="int inTag, int inType, fixed inVal">
         <![CDATA[native void     TextTagSetTime (int inTag, int inType, fixed inVal);]]>
    </Native>
    <Variable Name="c_timeGame" Type="int" Value="0">
         <![CDATA[const int c_timeGame    = 0;]]>
    </Variable>
    <Variable Name="c_timeReal" Type="int" Value="1">
         <![CDATA[const int c_timeReal    = 1;]]>
    </Variable>
    <Variable Name="c_timeAI" Type="int" Value="2">
         <![CDATA[const int c_timeAI      = 2;]]>
    </Variable>
    <Native Name="Wait" ReturnType="void" ArgumentList="fixed inSecs, int inTimeType">
         <![CDATA[native void     Wait (fixed inSecs, int inTimeType);]]>
    </Native>
    <Native Name="AITimePause" ReturnType="void" ArgumentList="bool inPause">
         <![CDATA[native void     AITimePause (bool inPause);]]>
    </Native>
    <Native Name="AITimeIsPaused" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     AITimeIsPaused ();]]>
    </Native>
    <Variable Name="c_timerDurationInfinite" Type="fixed" Value="-1.0">
         <![CDATA[const fixed c_timerDurationInfinite = -1.0;]]>
    </Variable>
    <Native Name="TimerCreate" ReturnType="timer" ArgumentList="">
         <![CDATA[native timer    TimerCreate ();]]>
    </Native>
    <Native Name="TimerStart" ReturnType="void" ArgumentList="timer t, fixed duration, bool periodic, int timeType">
         <![CDATA[native void     TimerStart (timer t, fixed duration, bool periodic, int timeType);]]>
    </Native>
    <Native Name="TimerRestart" ReturnType="void" ArgumentList="timer t">
         <![CDATA[native void     TimerRestart (timer t);]]>
    </Native>
    <Native Name="TimerLastStarted" ReturnType="timer" ArgumentList="">
         <![CDATA[native timer    TimerLastStarted ();]]>
    </Native>
    <Native Name="TimerPause" ReturnType="void" ArgumentList="timer t, bool pause">
         <![CDATA[native void     TimerPause (timer t, bool pause);]]>
    </Native>
    <Native Name="TimerIsPaused" ReturnType="bool" ArgumentList="timer t">
         <![CDATA[native bool     TimerIsPaused (timer t);]]>
    </Native>
    <Native Name="TimerGetElapsed" ReturnType="fixed" ArgumentList="timer t">
         <![CDATA[native fixed    TimerGetElapsed (timer t);]]>
    </Native>
    <Native Name="TimerGetRemaining" ReturnType="fixed" ArgumentList="timer t">
         <![CDATA[native fixed    TimerGetRemaining (timer t);]]>
    </Native>
    <Native Name="TimerGetDuration" ReturnType="fixed" ArgumentList="timer t">
         <![CDATA[native fixed    TimerGetDuration (timer t);]]>
    </Native>
    <Native Name="TriggerAddEventTimer" ReturnType="void" ArgumentList="trigger inTrigger, timer inTimer">
         <![CDATA[native void TriggerAddEventTimer (trigger inTrigger, timer inTimer);]]>
    </Native>
    <Native Name="TriggerAddEventTimeElapsed" ReturnType="void" ArgumentList="trigger inTrigger, fixed inTime, int inTimeType">
         <![CDATA[native void TriggerAddEventTimeElapsed (trigger inTrigger, fixed inTime, int inTimeType);]]>
    </Native>
    <Native Name="TriggerAddEventTimePeriodic" ReturnType="void" ArgumentList="trigger inTrigger, fixed inTime, int inTimeType">
         <![CDATA[native void TriggerAddEventTimePeriodic (trigger inTrigger, fixed inTime, int inTimeType);]]>
    </Native>
    <Native Name="EventTimer" ReturnType="timer" ArgumentList="">
         <![CDATA[native timer    EventTimer ();]]>
    </Native>
    <Variable Name="c_timerWindowNone" Type="int" Value="0">
         <![CDATA[const int c_timerWindowNone = 0;]]>
    </Variable>
    <Native Name="TimerWindowCreate" ReturnType="int" ArgumentList="timer inTimer, text inTitle, bool inShow, bool inShowElapsed">
         <![CDATA[native int      TimerWindowCreate (timer inTimer, text inTitle, bool inShow, bool inShowElapsed);]]>
    </Native>
    <Native Name="TimerWindowLastCreated" ReturnType="int" ArgumentList="">
         <![CDATA[native int      TimerWindowLastCreated ();]]>
    </Native>
    <Native Name="TimerWindowDestroy" ReturnType="void" ArgumentList="int inWindow">
         <![CDATA[native void     TimerWindowDestroy (int inWindow);]]>
    </Native>
    <Native Name="TimerWindowShow" ReturnType="void" ArgumentList="int inWindow, playergroup inPlayers, bool inShow">
         <![CDATA[native void     TimerWindowShow (int inWindow, playergroup inPlayers, bool inShow);]]>
    </Native>
    <Native Name="TimerWindowVisible" ReturnType="bool" ArgumentList="int inWindow, int inPlayer">
         <![CDATA[native bool     TimerWindowVisible (int inWindow, int inPlayer);]]>
    </Native>
    <Native Name="TimerWindowSetTimer" ReturnType="void" ArgumentList="int inWindow, timer inTimer">
         <![CDATA[native void     TimerWindowSetTimer (int inWindow, timer inTimer);]]>
    </Native>
    <Native Name="TimerWindowSetTitle" ReturnType="void" ArgumentList="int inWindow, text inTitle">
         <![CDATA[native void     TimerWindowSetTitle (int inWindow, text inTitle);]]>
    </Native>
    <Variable Name="c_timerWindowStyleHorizontalTitleTime" Type="int" Value="0">
         <![CDATA[const int c_timerWindowStyleHorizontalTitleTime = 0;]]>
    </Variable>
    <Variable Name="c_timerWindowStyleHorizontalTimeTitle" Type="int" Value="1">
         <![CDATA[const int c_timerWindowStyleHorizontalTimeTitle = 1;]]>
    </Variable>
    <Variable Name="c_timerWindowStyleVerticalTitleTime" Type="int" Value="2">
         <![CDATA[const int c_timerWindowStyleVerticalTitleTime   = 2;]]>
    </Variable>
    <Variable Name="c_timerWindowStyleVerticalTimeTitle" Type="int" Value="3">
         <![CDATA[const int c_timerWindowStyleVerticalTimeTitle   = 3;]]>
    </Variable>
    <Native Name="TimerWindowSetStyle" ReturnType="void" ArgumentList="int inWindow, int inStyle, bool inShowElapsed">
         <![CDATA[native void     TimerWindowSetStyle (int inWindow, int inStyle, bool inShowElapsed);]]>
    </Native>
    <Native Name="TimerWindowSetGapWidth" ReturnType="void" ArgumentList="int inWindow, int inWidth">
         <![CDATA[native void     TimerWindowSetGapWidth (int inWindow, int inWidth);]]>
    </Native>
    <Native Name="TimerWindowSetFormat" ReturnType="void" ArgumentList="int inWindow, text inFormat">
         <![CDATA[native void     TimerWindowSetFormat (int inWindow, text inFormat);]]>
    </Native>
    <Variable Name="c_timerWindowColorTitle" Type="int" Value="0">
         <![CDATA[const int c_timerWindowColorTitle       = 0;]]>
    </Variable>
    <Variable Name="c_timerWindowColorTime" Type="int" Value="1">
         <![CDATA[const int c_timerWindowColorTime        = 1;]]>
    </Variable>
    <Variable Name="c_timerWindowColorBackground" Type="int" Value="2">
         <![CDATA[const int c_timerWindowColorBackground  = 2;]]>
    </Variable>
    <Native Name="TimerWindowSetColor" ReturnType="void" ArgumentList="int inWindow, int inType, color inColor, fixed transparency">
         <![CDATA[native void     TimerWindowSetColor (int inWindow, int inType, color inColor, fixed transparency);]]>
    </Native>
    <Variable Name="c_invalidTransmissionId" Type="int" Value="0">
         <![CDATA[const int c_invalidTransmissionId = 0;]]>
    </Variable>
    <Variable Name="c_transmissionTransitionDuration" Type="fixed" Value="0.5">
         <![CDATA[const fixed c_transmissionTransitionDuration = 0.5;]]>
    </Variable>
    <Variable Name="c_transmissionDurationDefault" Type="int" Value="0">
         <![CDATA[const int c_transmissionDurationDefault = 0;]]>
    </Variable>
    <Variable Name="c_transmissionDurationAdd" Type="int" Value="1">
         <![CDATA[const int c_transmissionDurationAdd     = 1;]]>
    </Variable>
    <Variable Name="c_transmissionDurationSub" Type="int" Value="2">
         <![CDATA[const int c_transmissionDurationSub     = 2;]]>
    </Variable>
    <Variable Name="c_transmissionDurationSet" Type="int" Value="3">
         <![CDATA[const int c_transmissionDurationSet     = 3;]]>
    </Variable>
    <Native Name="TransmissionSource" ReturnType="transmissionsource" ArgumentList="">
         <![CDATA[native transmissionsource   TransmissionSource ();]]>
    </Native>
    <Native Name="TransmissionSourceFromUnit" ReturnType="transmissionsource" ArgumentList="unit u, bool flash, bool overridePortrait, string anim">
         <![CDATA[native transmissionsource   TransmissionSourceFromUnit (unit u, bool flash, bool overridePortrait, string anim);]]>
    </Native>
    <Native Name="TransmissionSourceFromUnitType" ReturnType="transmissionsource" ArgumentList="string unitType, bool overridePortrait">
         <![CDATA[native transmissionsource   TransmissionSourceFromUnitType (string unitType, bool overridePortrait);]]>
    </Native>
    <Native Name="TransmissionSourceFromModel" ReturnType="transmissionsource" ArgumentList="string modelLink">
         <![CDATA[native transmissionsource   TransmissionSourceFromModel (string modelLink);]]>
    </Native>
    <Native Name="TransmissionSourceFromMovie" ReturnType="transmissionsource" ArgumentList="string assetLink, bool subtitles">
         <![CDATA[native transmissionsource   TransmissionSourceFromMovie (string assetLink, bool subtitles);]]>
    </Native>
    <Native Name="TransmissionSend" ReturnType="int" ArgumentList="playergroup players, transmissionsource source, int targetPortrait, string targetAnim, soundlink soundLink, text speaker, text subtitle, fixed duration, int durationType, bool waitUntilDone">
         <![CDATA[native int                  TransmissionSend (
                                playergroup players,
                                transmissionsource source, 
                                int targetPortrait,
                                string targetAnim,
                                soundlink soundLink,
                                text speaker,
                                text subtitle,
                                fixed duration,
                                int durationType,
                                bool waitUntilDone
                            );]]>
    </Native>
    <Native Name="TransmissionLastSent" ReturnType="int" ArgumentList="">
         <![CDATA[native int                  TransmissionLastSent ();]]>
    </Native>
    <Native Name="TransmissionClear" ReturnType="void" ArgumentList="int t">
         <![CDATA[native void                 TransmissionClear (int t);]]>
    </Native>
    <Native Name="TransmissionClearAll" ReturnType="void" ArgumentList="">
         <![CDATA[native void                 TransmissionClearAll ();]]>
    </Native>
    <Native Name="TransmissionWait" ReturnType="void" ArgumentList="int t, fixed offset">
         <![CDATA[native void                 TransmissionWait (int t, fixed offset);]]>
    </Native>
    <Native Name="TriggerCreate" ReturnType="trigger" ArgumentList="string inFunction">
         <![CDATA[native trigger  TriggerCreate (string inFunction);]]>
    </Native>
    <Native Name="TriggerDestroy" ReturnType="void" ArgumentList="trigger t">
         <![CDATA[native void     TriggerDestroy (trigger t);]]>
    </Native>
    <Native Name="TriggerEnable" ReturnType="void" ArgumentList="trigger t, bool enable">
         <![CDATA[native void     TriggerEnable (trigger t, bool enable);]]>
    </Native>
    <Native Name="TriggerIsEnabled" ReturnType="bool" ArgumentList="trigger t">
         <![CDATA[native bool     TriggerIsEnabled (trigger t);]]>
    </Native>
    <Native Name="TriggerResetCounts" ReturnType="void" ArgumentList="trigger t">
         <![CDATA[native void     TriggerResetCounts (trigger t);]]>
    </Native>
    <Native Name="TriggerGetEvalCount" ReturnType="int" ArgumentList="trigger t">
         <![CDATA[native int      TriggerGetEvalCount (trigger t);]]>
    </Native>
    <Native Name="TriggerGetExecCount" ReturnType="int" ArgumentList="trigger t">
         <![CDATA[native int      TriggerGetExecCount (trigger t);]]>
    </Native>
    <Native Name="TriggerEvaluate" ReturnType="bool" ArgumentList="trigger t">
         <![CDATA[native bool     TriggerEvaluate (trigger t);]]>
    </Native>
    <Native Name="TriggerExecute" ReturnType="void" ArgumentList="trigger t, bool testConds, bool waitUntilDone">
         <![CDATA[native void     TriggerExecute (trigger t, bool testConds, bool waitUntilDone);]]>
    </Native>
    <Native Name="TriggerGetCurrent" ReturnType="trigger" ArgumentList="">
         <![CDATA[native trigger  TriggerGetCurrent ();]]>
    </Native>
    <Native Name="TriggerStop" ReturnType="void" ArgumentList="trigger t">
         <![CDATA[native void     TriggerStop (trigger t);]]>
    </Native>
    <Native Name="TriggerWaitForTrigger" ReturnType="void" ArgumentList="trigger t, bool waitUntilDone">
         <![CDATA[native void     TriggerWaitForTrigger (trigger t, bool waitUntilDone);]]>
    </Native>
    <Native Name="TriggerQueueEnter" ReturnType="void" ArgumentList="">
         <![CDATA[native void     TriggerQueueEnter ();]]>
    </Native>
    <Native Name="TriggerQueueExit" ReturnType="void" ArgumentList="">
         <![CDATA[native void     TriggerQueueExit ();]]>
    </Native>
    <Native Name="TriggerQueueIsEmpty" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool     TriggerQueueIsEmpty ();]]>
    </Native>
    <Native Name="TriggerQueuePause" ReturnType="void" ArgumentList="bool pause">
         <![CDATA[native void     TriggerQueuePause (bool pause);]]>
    </Native>
    <Variable Name="c_triggerQueueRetain" Type="int" Value="0">
         <![CDATA[const int c_triggerQueueRetain  = 0;]]>
    </Variable>
    <Variable Name="c_triggerQueueRemove" Type="int" Value="1">
         <![CDATA[const int c_triggerQueueRemove  = 1;]]>
    </Variable>
    <Variable Name="c_triggerQueueKill" Type="int" Value="2">
         <![CDATA[const int c_triggerQueueKill    = 2;]]>
    </Variable>
    <Native Name="TriggerQueueClear" ReturnType="void" ArgumentList="int activeOption">
         <![CDATA[native void     TriggerQueueClear (int activeOption);]]>
    </Native>
    <Native Name="TriggerSkippableBegin" ReturnType="void" ArgumentList="playergroup allowedToSkip, int requiredCount, trigger onSkip, bool testConds, bool waitUntilDone">
         <![CDATA[native void     TriggerSkippableBegin (
                    playergroup allowedToSkip,
                    int requiredCount,
                    trigger onSkip,
                    bool testConds,
                    bool waitUntilDone
                );]]>
    </Native>
    <Native Name="TriggerSkippableEnd" ReturnType="void" ArgumentList="">
         <![CDATA[native void     TriggerSkippableEnd ();]]>
    </Native>
    <Native Name="TriggerDebugWindowOpen" ReturnType="void" ArgumentList="bool open">
         <![CDATA[native void     TriggerDebugWindowOpen (bool open);]]>
    </Native>
    <Native Name="TriggerDebugOutput" ReturnType="void" ArgumentList="int type, text inText, bool includeGameUI">
         <![CDATA[native void     TriggerDebugOutput (int type, text inText, bool includeGameUI);]]>
    </Native>
    <Native Name="TriggerDebugSetTypeName" ReturnType="void" ArgumentList="int type, text inText">
         <![CDATA[native void     TriggerDebugSetTypeName (int type, text inText);]]>
    </Native>
    <Native Name="TriggerDebugSetTypeColor" ReturnType="void" ArgumentList="int type, color c">
         <![CDATA[native void     TriggerDebugSetTypeColor (int type, color c);]]>
    </Native>
    <Native Name="TriggerDebugSetTypeFile" ReturnType="void" ArgumentList="int type, string file">
         <![CDATA[native void     TriggerDebugSetTypeFile (int type, string file);]]>
    </Native>
    <Variable Name="c_spendLocationAll" Type="int" Value="-1">
         <![CDATA[const int c_spendLocationAll        = -1;]]>
    </Variable>
    <Variable Name="c_spendLocationAbility" Type="int" Value="0">
         <![CDATA[const int c_spendLocationAbility    = 0;]]>
    </Variable>
    <Variable Name="c_spendLocationBehavior" Type="int" Value="1">
         <![CDATA[const int c_spendLocationBehavior   = 1;]]>
    </Variable>
    <Variable Name="c_spendLocationUnit" Type="int" Value="2">
         <![CDATA[const int c_spendLocationUnit       = 2;]]>
    </Variable>
    <Variable Name="c_spendLocationPlayer" Type="int" Value="3">
         <![CDATA[const int c_spendLocationPlayer     = 3;]]>
    </Variable>
    <Variable Name="c_spendLocationGlobal" Type="int" Value="4">
         <![CDATA[const int c_spendLocationGlobal     = 4;]]>
    </Variable>
    <Variable Name="c_unitCreateConstruct" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_unitCreateConstruct         = (1 << 0);]]>
    </Variable>
    <Variable Name="c_unitCreateIgnorePlacement" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int c_unitCreateIgnorePlacement   = (1 << 1);]]>
    </Variable>
    <Native Name="UnitCreate" ReturnType="unitgroup" ArgumentList="int inCount, string inUnitType, int inCreateStyle, int inPlayer, point inPos, fixed inFacing">
         <![CDATA[native unitgroup UnitCreate (
    int inCount,
    string inUnitType,
    int inCreateStyle,
    int inPlayer,
    point inPos,
    fixed inFacing
);]]>
    </Native>
    <Native Name="UnitLastCreated" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit UnitLastCreated ();]]>
    </Native>
    <Native Name="UnitLastCreatedGroup" ReturnType="unitgroup" ArgumentList="">
         <![CDATA[native unitgroup UnitLastCreatedGroup ();]]>
    </Native>
    <Native Name="UnitFromId" ReturnType="unit" ArgumentList="int id">
         <![CDATA[native unit UnitFromId (int id);]]>
    </Native>
    <Native Name="UnitLoadModel" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void UnitLoadModel (unit inUnit);]]>
    </Native>
    <Native Name="UnitUnloadModel" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void UnitUnloadModel (unit inUnit);]]>
    </Native>
    <Native Name="UnitRemove" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void UnitRemove (unit inUnit);]]>
    </Native>
    <Native Name="UnitKill" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void UnitKill (unit inUnit);]]>
    </Native>
    <Native Name="UnitRevive" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void UnitRevive (unit inUnit);]]>
    </Native>
    <Native Name="UnitIsAlive" ReturnType="bool" ArgumentList="unit inUnit">
         <![CDATA[native bool UnitIsAlive (unit inUnit);]]>
    </Native>
    <Native Name="UnitIsValid" ReturnType="bool" ArgumentList="unit inUnit">
         <![CDATA[native bool UnitIsValid (unit inUnit);]]>
    </Native>
    <Native Name="UnitWaitUntilIdle" ReturnType="void" ArgumentList="unit inUnit, bool inIdle">
         <![CDATA[native void UnitWaitUntilIdle (unit inUnit, bool inIdle);]]>
    </Native>
    <Native Name="UnitGetType" ReturnType="string" ArgumentList="unit inUnit">
         <![CDATA[native string UnitGetType (unit inUnit);]]>
    </Native>
    <Native Name="UnitGetOwner" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int   UnitGetOwner (unit inUnit);]]>
    </Native>
    <Native Name="UnitSetOwner" ReturnType="void" ArgumentList="unit inUnit, int inPlayer, bool inChangeColor">
         <![CDATA[native void  UnitSetOwner (unit inUnit, int inPlayer, bool inChangeColor);]]>
    </Native>
    <Native Name="UnitSetTeamColorIndex" ReturnType="void" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native void  UnitSetTeamColorIndex (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitResetTeamColorIndex" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void  UnitResetTeamColorIndex (unit inUnit);]]>
    </Native>
    <Native Name="UnitGetPosition" ReturnType="point" ArgumentList="unit inUnit">
         <![CDATA[native point UnitGetPosition (unit inUnit);]]>
    </Native>
    <Native Name="UnitSetPosition" ReturnType="void" ArgumentList="unit inUnit, point inPos, bool blend">
         <![CDATA[native void  UnitSetPosition (unit inUnit, point inPos, bool blend);]]>
    </Native>
    <Native Name="UnitGetHeight" ReturnType="fixed" ArgumentList="unit inUnit">
         <![CDATA[native fixed UnitGetHeight (unit inUnit);]]>
    </Native>
    <Native Name="UnitSetHeight" ReturnType="void" ArgumentList="unit inUnit, fixed inHeight, fixed inDuration">
         <![CDATA[native void UnitSetHeight (unit inUnit, fixed inHeight, fixed inDuration);]]>
    </Native>
    <Native Name="UnitGetFacing" ReturnType="fixed" ArgumentList="unit inUnit">
         <![CDATA[native fixed UnitGetFacing (unit inUnit);]]>
    </Native>
    <Native Name="UnitSetFacing" ReturnType="void" ArgumentList="unit inUnit, fixed inFacing, fixed inDuration">
         <![CDATA[native void  UnitSetFacing (unit inUnit, fixed inFacing, fixed inDuration);]]>
    </Native>
    <Native Name="UnitGetAttachmentPoint" ReturnType="point" ArgumentList="unit inUnit, string attachment">
         <![CDATA[native point UnitGetAttachmentPoint (unit inUnit, string attachment);]]>
    </Native>
    <Native Name="UnitResetSpeed" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void  UnitResetSpeed (unit inUnit);]]>
    </Native>
    <Native Name="UnitSetScale" ReturnType="void" ArgumentList="unit inUnit, fixed x, fixed y, fixed z">
         <![CDATA[native void UnitSetScale (unit inUnit, fixed x, fixed y, fixed z);]]>
    </Native>
    <Native Name="UnitPauseAll" ReturnType="void" ArgumentList="bool inPause">
         <![CDATA[native void UnitPauseAll (bool inPause);]]>
    </Native>
    <Native Name="UnitSetCursor" ReturnType="void" ArgumentList="unit inUnit, string cursorLink">
         <![CDATA[native void UnitSetCursor (unit inUnit, string cursorLink);]]>
    </Native>
    <Native Name="UnitSetInfoText" ReturnType="void" ArgumentList="unit inUnit, text info, text tip, text subTip">
         <![CDATA[native void UnitSetInfoText (unit inUnit, text info, text tip, text subTip);]]>
    </Native>
    <Native Name="UnitClearInfoText" ReturnType="void" ArgumentList="unit inUnit">
         <![CDATA[native void UnitClearInfoText (unit inUnit);]]>
    </Native>
    <Native Name="UnitForceStatusBar" ReturnType="void" ArgumentList="unit inUnit, bool inShow">
         <![CDATA[native void UnitForceStatusBar (unit inUnit, bool inShow);]]>
    </Native>
    <Variable Name="c_unitStateBuried" Type="int" Value="0">
         <![CDATA[const int c_unitStateBuried             = 0;]]>
    </Variable>
    <Variable Name="c_unitStateCloaked" Type="int" Value="1">
         <![CDATA[const int c_unitStateCloaked            = 1;]]>
    </Variable>
    <Variable Name="c_unitStateDetector" Type="int" Value="2">
         <![CDATA[const int c_unitStateDetector           = 2;]]>
    </Variable>
    <Variable Name="c_unitStateRadar" Type="int" Value="3">
         <![CDATA[const int c_unitStateRadar              = 3;]]>
    </Variable>
    <Variable Name="c_unitStateVisionSuppressed" Type="int" Value="4">
         <![CDATA[const int c_unitStateVisionSuppressed   = 4;]]>
    </Variable>
    <Variable Name="c_unitStateAttackSuppressed" Type="int" Value="5">
         <![CDATA[const int c_unitStateAttackSuppressed   = 5;]]>
    </Variable>
    <Variable Name="c_unitStateInStasis" Type="int" Value="6">
         <![CDATA[const int c_unitStateInStasis           = 6;]]>
    </Variable>
    <Variable Name="c_unitStateHallucination" Type="int" Value="7">
         <![CDATA[const int c_unitStateHallucination      = 7;]]>
    </Variable>
    <Variable Name="c_unitStateInvulnerable" Type="int" Value="8">
         <![CDATA[const int c_unitStateInvulnerable       = 8;]]>
    </Variable>
    <Variable Name="c_unitStatePaused" Type="int" Value="9">
         <![CDATA[const int c_unitStatePaused             = 9;]]>
    </Variable>
    <Variable Name="c_unitStateHidden" Type="int" Value="10">
         <![CDATA[const int c_unitStateHidden             = 10;]]>
    </Variable>
    <Variable Name="c_unitStateHighlightable" Type="int" Value="11">
         <![CDATA[const int c_unitStateHighlightable      = 11;]]>
    </Variable>
    <Variable Name="c_unitStateIgnoreTerrainZ" Type="int" Value="12">
         <![CDATA[const int c_unitStateIgnoreTerrainZ     = 12;]]>
    </Variable>
    <Variable Name="c_unitStateUnderConstruction" Type="int" Value="13">
         <![CDATA[const int c_unitStateUnderConstruction  = 13;]]>
    </Variable>
    <Variable Name="c_unitStateInsideTransport" Type="int" Value="14">
         <![CDATA[const int c_unitStateInsideTransport    = 14;]]>
    </Variable>
    <Variable Name="c_unitStateIdle" Type="int" Value="15">
         <![CDATA[const int c_unitStateIdle               = 15;]]>
    </Variable>
    <Variable Name="c_unitStateFidget" Type="int" Value="16">
         <![CDATA[const int c_unitStateFidget             = 16;]]>
    </Variable>
    <Variable Name="c_unitStateSelectable" Type="int" Value="17">
         <![CDATA[const int c_unitStateSelectable         = 17;]]>
    </Variable>
    <Variable Name="c_unitStateTargetable" Type="int" Value="18">
         <![CDATA[const int c_unitStateTargetable         = 18;]]>
    </Variable>
    <Variable Name="c_unitStateStatusBar" Type="int" Value="19">
         <![CDATA[const int c_unitStateStatusBar          = 19;]]>
    </Variable>
    <Variable Name="c_unitStateTooltipable" Type="int" Value="20">
         <![CDATA[const int c_unitStateTooltipable        = 20;]]>
    </Variable>
    <Variable Name="c_unitStateCursorable" Type="int" Value="21">
         <![CDATA[const int c_unitStateCursorable         = 21;]]>
    </Variable>
    <Variable Name="c_unitStateIsDead" Type="int" Value="22">
         <![CDATA[const int c_unitStateIsDead             = 22;]]>
    </Variable>
    <Variable Name="c_unitStateIsTransport" Type="int" Value="23">
         <![CDATA[const int c_unitStateIsTransport        = 23;]]>
    </Variable>
    <Variable Name="c_unitStateMoveSuppressed" Type="int" Value="24">
         <![CDATA[const int c_unitStateMoveSuppressed     = 24;]]>
    </Variable>
    <Variable Name="c_unitStateTurnSuppressed" Type="int" Value="25">
         <![CDATA[const int c_unitStateTurnSuppressed     = 25;]]>
    </Variable>
    <Variable Name="c_unitStateHighlighted" Type="int" Value="26">
         <![CDATA[const int c_unitStateHighlighted        = 26;]]>
    </Variable>
    <Variable Name="c_unitStateUsingSupply" Type="int" Value="27">
         <![CDATA[const int c_unitStateUsingSupply        = 27;]]>
    </Variable>
    <Variable Name="c_unitStateRevivable" Type="int" Value="28">
         <![CDATA[const int c_unitStateRevivable          = 28;]]>
    </Variable>
    <Native Name="UnitSetState" ReturnType="void" ArgumentList="unit inUnit, int inState, bool inVal">
         <![CDATA[native void UnitSetState (unit inUnit, int inState, bool inVal);]]>
    </Native>
    <Native Name="UnitTestState" ReturnType="bool" ArgumentList="unit inUnit, int inState">
         <![CDATA[native bool UnitTestState (unit inUnit, int inState);]]>
    </Native>
    <Variable Name="c_unitPropLife" Type="int" Value="0">
         <![CDATA[const int c_unitPropLife            =  0;]]>
    </Variable>
    <Variable Name="c_unitPropLifePercent" Type="int" Value="1">
         <![CDATA[const int c_unitPropLifePercent     =  1;]]>
    </Variable>
    <Variable Name="c_unitPropLifeMax" Type="int" Value="2">
         <![CDATA[const int c_unitPropLifeMax         =  2;]]>
    </Variable>
    <Variable Name="c_unitPropLifeRegen" Type="int" Value="3">
         <![CDATA[const int c_unitPropLifeRegen       =  3;]]>
    </Variable>
    <Variable Name="c_unitPropEnergy" Type="int" Value="4">
         <![CDATA[const int c_unitPropEnergy          =  4;]]>
    </Variable>
    <Variable Name="c_unitPropEnergyPercent" Type="int" Value="5">
         <![CDATA[const int c_unitPropEnergyPercent   =  5;]]>
    </Variable>
    <Variable Name="c_unitPropEnergyMax" Type="int" Value="6">
         <![CDATA[const int c_unitPropEnergyMax       =  6;]]>
    </Variable>
    <Variable Name="c_unitPropEnergyRegen" Type="int" Value="7">
         <![CDATA[const int c_unitPropEnergyRegen     =  7;]]>
    </Variable>
    <Variable Name="c_unitPropShields" Type="int" Value="8">
         <![CDATA[const int c_unitPropShields         =  8;]]>
    </Variable>
    <Variable Name="c_unitPropShieldsPercent" Type="int" Value="9">
         <![CDATA[const int c_unitPropShieldsPercent  =  9;]]>
    </Variable>
    <Variable Name="c_unitPropShieldsMax" Type="int" Value="10">
         <![CDATA[const int c_unitPropShieldsMax      = 10;]]>
    </Variable>
    <Variable Name="c_unitPropShieldsRegen" Type="int" Value="11">
         <![CDATA[const int c_unitPropShieldsRegen    = 11;]]>
    </Variable>
    <Variable Name="c_unitPropSuppliesUsed" Type="int" Value="12">
         <![CDATA[const int c_unitPropSuppliesUsed    = 12;]]>
    </Variable>
    <Variable Name="c_unitPropSuppliesMade" Type="int" Value="13">
         <![CDATA[const int c_unitPropSuppliesMade    = 13;]]>
    </Variable>
    <Variable Name="c_unitPropKills" Type="int" Value="14">
         <![CDATA[const int c_unitPropKills           = 14;]]>
    </Variable>
    <Variable Name="c_unitPropVitality" Type="int" Value="15">
         <![CDATA[const int c_unitPropVitality        = 15;]]>
    </Variable>
    <Variable Name="c_unitPropVitalityPercent" Type="int" Value="16">
         <![CDATA[const int c_unitPropVitalityPercent = 16;]]>
    </Variable>
    <Variable Name="c_unitPropVitalityMax" Type="int" Value="17">
         <![CDATA[const int c_unitPropVitalityMax     = 17;]]>
    </Variable>
    <Variable Name="c_unitPropAcceleration" Type="int" Value="18">
         <![CDATA[const int c_unitPropAcceleration    = 18;]]>
    </Variable>
    <Variable Name="c_unitPropHeight" Type="int" Value="19">
         <![CDATA[const int c_unitPropHeight          = 19;]]>
    </Variable>
    <Variable Name="c_unitPropMovementSpeed" Type="int" Value="20">
         <![CDATA[const int c_unitPropMovementSpeed   = 20;]]>
    </Variable>
    <Variable Name="c_unitPropTurnRate" Type="int" Value="21">
         <![CDATA[const int c_unitPropTurnRate        = 21;]]>
    </Variable>
    <Variable Name="c_unitPropResources" Type="int" Value="22">
         <![CDATA[const int c_unitPropResources       = 22;]]>
    </Variable>
    <Variable Name="c_unitPropRadius" Type="int" Value="23">
         <![CDATA[const int c_unitPropRadius          = 23;]]>
    </Variable>
    <Variable Name="c_unitPropCurrent" Type="bool" Value="true">
         <![CDATA[const bool c_unitPropCurrent = true;]]>
    </Variable>
    <Variable Name="c_unitPropNormal" Type="bool" Value="false">
         <![CDATA[const bool c_unitPropNormal  = false;]]>
    </Variable>
    <Native Name="UnitSetPropertyInt" ReturnType="void" ArgumentList="unit inUnit, int inProp, int inVal">
         <![CDATA[native void     UnitSetPropertyInt (unit inUnit, int inProp, int inVal);]]>
    </Native>
    <Native Name="UnitSetPropertyFixed" ReturnType="void" ArgumentList="unit inUnit, int inProp, fixed inVal">
         <![CDATA[native void     UnitSetPropertyFixed (unit inUnit, int inProp, fixed inVal);]]>
    </Native>
    <Native Name="UnitGetPropertyInt" ReturnType="int" ArgumentList="unit inUnit, int inProp, bool inCurrent">
         <![CDATA[native int      UnitGetPropertyInt (unit inUnit, int inProp, bool inCurrent);]]>
    </Native>
    <Native Name="UnitGetPropertyFixed" ReturnType="fixed" ArgumentList="unit inUnit, int inProp, bool inCurrent">
         <![CDATA[native fixed    UnitGetPropertyFixed (unit inUnit, int inProp, bool inCurrent);]]>
    </Native>
    <Native Name="UnitSetCustomValue" ReturnType="void" ArgumentList="unit inUnit, int inIndex, fixed inVal">
         <![CDATA[native void     UnitSetCustomValue (unit inUnit, int inIndex, fixed inVal);]]>
    </Native>
    <Native Name="UnitGetCustomValue" ReturnType="fixed" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native fixed    UnitGetCustomValue (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitAddChargeRegen" ReturnType="void" ArgumentList="unit inUnit, string inCharge, fixed inVal">
         <![CDATA[native void     UnitAddChargeRegen (unit inUnit, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="UnitGetChargeRegen" ReturnType="fixed" ArgumentList="unit inUnit, string inCharge">
         <![CDATA[native fixed    UnitGetChargeRegen (unit inUnit, string inCharge);]]>
    </Native>
    <Native Name="UnitAddChargeUsed" ReturnType="void" ArgumentList="unit inUnit, string inCharge, fixed inVal">
         <![CDATA[native void     UnitAddChargeUsed (unit inUnit, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="UnitGetChargeUsed" ReturnType="fixed" ArgumentList="unit inUnit, string inCharge">
         <![CDATA[native fixed    UnitGetChargeUsed (unit inUnit, string inCharge);]]>
    </Native>
    <Native Name="UnitAddCooldown" ReturnType="void" ArgumentList="unit inUnit, string inCooldown, fixed inVal">
         <![CDATA[native void     UnitAddCooldown (unit inUnit, string inCooldown, fixed inVal);]]>
    </Native>
    <Native Name="UnitGetCooldown" ReturnType="fixed" ArgumentList="unit inUnit, string inCooldown">
         <![CDATA[native fixed    UnitGetCooldown (unit inUnit, string inCooldown);]]>
    </Native>
    <Native Name="UnitCreateEffectPoint" ReturnType="void" ArgumentList="unit inUnit, string inEffect, point inTarget">
         <![CDATA[native void     UnitCreateEffectPoint (unit inUnit, string inEffect, point inTarget);]]>
    </Native>
    <Native Name="UnitCreateEffectUnit" ReturnType="void" ArgumentList="unit inUnit, string inEffect, unit inTarget">
         <![CDATA[native void     UnitCreateEffectUnit (unit inUnit, string inEffect, unit inTarget);]]>
    </Native>
    <Native Name="UnitValidateEffectPoint" ReturnType="int" ArgumentList="unit inUnit, string inEffect, point inTarget">
         <![CDATA[native int      UnitValidateEffectPoint (unit inUnit, string inEffect, point inTarget);]]>
    </Native>
    <Native Name="UnitValidateEffectUnit" ReturnType="int" ArgumentList="unit inUnit, string inEffect, unit inTarget">
         <![CDATA[native int      UnitValidateEffectUnit (unit inUnit, string inEffect, unit inTarget);]]>
    </Native>
    <Variable Name="c_unitAIOptionUsable" Type="int" Value="0">
         <![CDATA[const int c_unitAIOptionUsable      = 0;]]>
    </Variable>
    <Native Name="UnitSetAIOption" ReturnType="void" ArgumentList="unit inUnit, int inOption, bool inVal">
         <![CDATA[native void     UnitSetAIOption (unit inUnit, int inOption, bool inVal);]]>
    </Native>
    <Native Name="UnitGetAIOption" ReturnType="bool" ArgumentList="unit inUnit, int inOption">
         <![CDATA[native bool     UnitGetAIOption (unit inUnit, int inOption);]]>
    </Native>
    <Variable Name="c_unitAbilChargeCountMax" Type="int" Value="0">
         <![CDATA[const int c_unitAbilChargeCountMax   = 0;]]>
    </Variable>
    <Variable Name="c_unitAbilChargeCountUse" Type="int" Value="1">
         <![CDATA[const int c_unitAbilChargeCountUse   = 1;]]>
    </Variable>
    <Variable Name="c_unitAbilChargeCountLeft" Type="int" Value="2">
         <![CDATA[const int c_unitAbilChargeCountLeft  = 2;]]>
    </Variable>
    <Variable Name="c_unitAbilChargeRegenMax" Type="int" Value="3">
         <![CDATA[const int c_unitAbilChargeRegenMax   = 3;]]>
    </Variable>
    <Variable Name="c_unitAbilChargeRegenLeft" Type="int" Value="4">
         <![CDATA[const int c_unitAbilChargeRegenLeft  = 4;]]>
    </Variable>
    <Native Name="UnitAbilitySpend" ReturnType="void" ArgumentList="unit inUnit, abilcmd inAbilCmd, int inLocation">
         <![CDATA[native void     UnitAbilitySpend (unit inUnit, abilcmd inAbilCmd, int inLocation);]]>
    </Native>
    <Native Name="UnitAbilityReset" ReturnType="void" ArgumentList="unit inUnit, abilcmd inAbilCmd, int inLocation">
         <![CDATA[native void     UnitAbilityReset (unit inUnit, abilcmd inAbilCmd, int inLocation);]]>
    </Native>
    <Native Name="UnitAbilityChargeInfo" ReturnType="fixed" ArgumentList="unit inUnit, abilcmd inAbilCmd, int inType">
         <![CDATA[native fixed    UnitAbilityChargeInfo (unit inUnit, abilcmd inAbilCmd, int inType);]]>
    </Native>
    <Native Name="UnitAbilityCount" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int      UnitAbilityCount (unit inUnit);]]>
    </Native>
    <Native Name="UnitAbilityExists" ReturnType="bool" ArgumentList="unit inUnit, string inAbil">
         <![CDATA[native bool     UnitAbilityExists (unit inUnit, string inAbil);]]>
    </Native>
    <Native Name="UnitAbilityEnable" ReturnType="void" ArgumentList="unit inUnit, string inAbil, bool inEnable">
         <![CDATA[native void     UnitAbilityEnable (unit inUnit, string inAbil, bool inEnable);]]>
    </Native>
    <Native Name="UnitAbilityShow" ReturnType="void" ArgumentList="unit inUnit, string inAbil, bool inShow">
         <![CDATA[native void     UnitAbilityShow (unit inUnit, string inAbil, bool inShow);]]>
    </Native>
    <Native Name="UnitAbilityGet" ReturnType="string" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native string   UnitAbilityGet (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitAbilityCheck" ReturnType="bool" ArgumentList="unit inUnit, string inAbil, bool inEnabled">
         <![CDATA[native bool     UnitAbilityCheck (unit inUnit, string inAbil, bool inEnabled);]]>
    </Native>
    <Native Name="UnitAbilityChangeLevel" ReturnType="void" ArgumentList="unit inUnit, string inAbil, int inLevel">
         <![CDATA[native void     UnitAbilityChangeLevel (unit inUnit, string inAbil, int inLevel);]]>
    </Native>
    <Native Name="UnitAbilityGetLevel" ReturnType="int" ArgumentList="unit inUnit, string inAbil">
         <![CDATA[native int      UnitAbilityGetLevel (unit inUnit, string inAbil);]]>
    </Native>
    <Native Name="UnitAbilityMaxLevel" ReturnType="int" ArgumentList="unit inUnit, string inAbil">
         <![CDATA[native int      UnitAbilityMaxLevel (unit inUnit, string inAbil);]]>
    </Native>
    <Native Name="UnitAbilityAddChargeRegen" ReturnType="void" ArgumentList="unit inUnit, string inAbil, string inCharge, fixed inVal">
         <![CDATA[native void     UnitAbilityAddChargeRegen (unit inUnit, string inAbil, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="UnitAbilityGetChargeRegen" ReturnType="fixed" ArgumentList="unit inUnit, string inAbil, string inCharge">
         <![CDATA[native fixed    UnitAbilityGetChargeRegen (unit inUnit, string inAbil, string inCharge);]]>
    </Native>
    <Native Name="UnitAbilityAddChargeUsed" ReturnType="void" ArgumentList="unit inUnit, string inAbil, string inCharge, fixed inVal">
         <![CDATA[native void     UnitAbilityAddChargeUsed (unit inUnit, string inAbil, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="UnitAbilityGetChargeUsed" ReturnType="fixed" ArgumentList="unit inUnit, string inAbil, string inCharge">
         <![CDATA[native fixed    UnitAbilityGetChargeUsed (unit inUnit, string inAbil, string inCharge);]]>
    </Native>
    <Native Name="UnitAbilityAddCooldown" ReturnType="void" ArgumentList="unit inUnit, string inAbil, string inCooldown, fixed inVal">
         <![CDATA[native void     UnitAbilityAddCooldown (unit inUnit, string inAbil, string inCooldown, fixed inVal);]]>
    </Native>
    <Native Name="UnitAbilityGetCooldown" ReturnType="fixed" ArgumentList="unit inUnit, string inAbil, string inCooldown">
         <![CDATA[native fixed    UnitAbilityGetCooldown (unit inUnit, string inAbil, string inCooldown);]]>
    </Native>
    <Variable Name="c_cmdStateHidden" Type="int" Value="(1 &lt;&lt; 0)">
         <![CDATA[const int c_cmdStateHidden          = (1 << 0);]]>
    </Variable>
    <Variable Name="c_cmdStateExecuting" Type="int" Value="(1 &lt;&lt; 1)">
         <![CDATA[const int c_cmdStateExecuting       = (1 << 1);]]>
    </Variable>
    <Variable Name="c_cmdStateCanAutoCast" Type="int" Value="(1 &lt;&lt; 2)">
         <![CDATA[const int c_cmdStateCanAutoCast     = (1 << 2);]]>
    </Variable>
    <Variable Name="c_cmdStateIsAutoCast" Type="int" Value="(1 &lt;&lt; 3)">
         <![CDATA[const int c_cmdStateIsAutoCast      = (1 << 3);]]>
    </Variable>
    <Variable Name="c_cmdStateMaxCharges" Type="int" Value="(1 &lt;&lt; 4)">
         <![CDATA[const int c_cmdStateMaxCharges      = (1 << 4);]]>
    </Variable>
    <Variable Name="c_cmdStateHasCharges" Type="int" Value="(1 &lt;&lt; 5)">
         <![CDATA[const int c_cmdStateHasCharges      = (1 << 5);]]>
    </Variable>
    <Variable Name="c_cmdStateDisabled" Type="int" Value="(1 &lt;&lt; 6)">
         <![CDATA[const int c_cmdStateDisabled        = (1 << 6);]]>
    </Variable>
    <Variable Name="c_cmdStateCooldown" Type="int" Value="(1 &lt;&lt; 7)">
         <![CDATA[const int c_cmdStateCooldown        = (1 << 7);]]>
    </Variable>
    <Variable Name="c_cmdStateNoLife" Type="int" Value="(1 &lt;&lt; 8)">
         <![CDATA[const int c_cmdStateNoLife          = (1 << 8);]]>
    </Variable>
    <Variable Name="c_cmdStateNoShields" Type="int" Value="(1 &lt;&lt; 9)">
         <![CDATA[const int c_cmdStateNoShields       = (1 << 9);]]>
    </Variable>
    <Variable Name="c_cmdStateNoEnergy" Type="int" Value="(1 &lt;&lt; 10)">
         <![CDATA[const int c_cmdStateNoEnergy        = (1 << 10);]]>
    </Variable>
    <Variable Name="c_cmdStateNoMinerals" Type="int" Value="(1 &lt;&lt; 11)">
         <![CDATA[const int c_cmdStateNoMinerals      = (1 << 11);]]>
    </Variable>
    <Variable Name="c_cmdStateNoVespene" Type="int" Value="(1 &lt;&lt; 12)">
         <![CDATA[const int c_cmdStateNoVespene       = (1 << 12);]]>
    </Variable>
    <Variable Name="c_cmdStateNoTerrazine" Type="int" Value="(1 &lt;&lt; 13)">
         <![CDATA[const int c_cmdStateNoTerrazine     = (1 << 13);]]>
    </Variable>
    <Variable Name="c_cmdStateNoCustom" Type="int" Value="(1 &lt;&lt; 14)">
         <![CDATA[const int c_cmdStateNoCustom        = (1 << 14);]]>
    </Variable>
    <Variable Name="c_cmdStateNoFood" Type="int" Value="(1 &lt;&lt; 15)">
         <![CDATA[const int c_cmdStateNoFood          = (1 << 15);]]>
    </Variable>
    <Variable Name="c_cmdStateCantSpend" Type="int" Value="(1 &lt;&lt; 16)">
         <![CDATA[const int c_cmdStateCantSpend       = (1 << 16);]]>
    </Variable>
    <Native Name="UnitCheckAbilCmdState" ReturnType="bool" ArgumentList="unit inUnit, abilcmd inAbilCmd, int inState">
         <![CDATA[native bool     UnitCheckAbilCmdState (unit inUnit, abilcmd inAbilCmd, int inState);]]>
    </Native>
    <Variable Name="c_unitCargoUnitCount" Type="int" Value="0">
         <![CDATA[const int c_unitCargoUnitCount      = 0;]]>
    </Variable>
    <Variable Name="c_unitCargoSpaceTotal" Type="int" Value="1">
         <![CDATA[const int c_unitCargoSpaceTotal     = 1;]]>
    </Variable>
    <Variable Name="c_unitCargoSpaceUsed" Type="int" Value="2">
         <![CDATA[const int c_unitCargoSpaceUsed      = 2;]]>
    </Variable>
    <Variable Name="c_unitCargoSpaceFree" Type="int" Value="3">
         <![CDATA[const int c_unitCargoSpaceFree      = 3;]]>
    </Variable>
    <Variable Name="c_unitCargoSizeAsCargo" Type="int" Value="4">
         <![CDATA[const int c_unitCargoSizeAsCargo    = 4;]]>
    </Variable>
    <Variable Name="c_unitCargoSizeMax" Type="int" Value="5">
         <![CDATA[const int c_unitCargoSizeMax        = 5;]]>
    </Variable>
    <Variable Name="c_unitCargoPosition" Type="int" Value="6">
         <![CDATA[const int c_unitCargoPosition       = 6;]]>
    </Variable>
    <Native Name="UnitCargoCreate" ReturnType="void" ArgumentList="unit inUnit, string inId, int inCount">
         <![CDATA[native void         UnitCargoCreate (unit inUnit, string inId, int inCount);]]>
    </Native>
    <Native Name="UnitCargoLastCreated" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit         UnitCargoLastCreated ();]]>
    </Native>
    <Native Name="UnitCargoLastCreatedGroup" ReturnType="unitgroup" ArgumentList="">
         <![CDATA[native unitgroup    UnitCargoLastCreatedGroup ();]]>
    </Native>
    <Native Name="UnitCargo" ReturnType="unit" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native unit         UnitCargo (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitCargoGroup" ReturnType="unitgroup" ArgumentList="unit inUnit">
         <![CDATA[native unitgroup    UnitCargoGroup (unit inUnit);]]>
    </Native>
    <Native Name="UnitCargoValue" ReturnType="int" ArgumentList="unit inUnit, int inValue">
         <![CDATA[native int          UnitCargoValue (unit inUnit, int inValue);]]>
    </Native>
    <Native Name="UnitTransport" ReturnType="unit" ArgumentList="unit inUnit">
         <![CDATA[native unit         UnitTransport (unit inUnit);]]>
    </Native>
    <Native Name="UnitAgent" ReturnType="unit" ArgumentList="unit inUnit, int inPlayer">
         <![CDATA[native unit     UnitAgent (unit inUnit, int inPlayer);]]>
    </Native>
    <Native Name="UnitMagazineArm" ReturnType="void" ArgumentList="unit inUnit, abilcmd inAbilCmd, int inCount">
         <![CDATA[native void     UnitMagazineArm (unit inUnit, abilcmd inAbilCmd, int inCount);]]>
    </Native>
    <Native Name="UnitMagazineCount" ReturnType="int" ArgumentList="unit inUnit, string inAbil">
         <![CDATA[native int      UnitMagazineCount (unit inUnit, string inAbil);]]>
    </Native>
    <Variable Name="c_unitQueueTimeElapsed" Type="int" Value="0">
         <![CDATA[const int c_unitQueueTimeElapsed    = 0;]]>
    </Variable>
    <Variable Name="c_unitQueueTimeRemaining" Type="int" Value="1">
         <![CDATA[const int c_unitQueueTimeRemaining  = 1;]]>
    </Variable>
    <Variable Name="c_unitQueueTimeTotal" Type="int" Value="2">
         <![CDATA[const int c_unitQueueTimeTotal      = 2;]]>
    </Variable>
    <Variable Name="c_unitQueuePropertyAvailable" Type="int" Value="0">
         <![CDATA[const int c_unitQueuePropertyAvailable  = 0;]]>
    </Variable>
    <Variable Name="c_unitQueuePropertyTotal" Type="int" Value="1">
         <![CDATA[const int c_unitQueuePropertyTotal      = 1;]]>
    </Variable>
    <Variable Name="c_unitQueuePropertyUsed" Type="int" Value="2">
         <![CDATA[const int c_unitQueuePropertyUsed       = 2;]]>
    </Variable>
    <Variable Name="c_unitQueuePropertyCount" Type="int" Value="3">
         <![CDATA[const int c_unitQueuePropertyCount      = 3;]]>
    </Variable>
    <Native Name="UnitQueueItemCount" ReturnType="int" ArgumentList="unit inUnit, int inSlot">
         <![CDATA[native int      UnitQueueItemCount (unit inUnit, int inSlot);]]>
    </Native>
    <Native Name="UnitQueueItemGet" ReturnType="string" ArgumentList="unit inUnit, int inItem, int inSlot">
         <![CDATA[native string   UnitQueueItemGet (unit inUnit, int inItem, int inSlot);]]>
    </Native>
    <Native Name="UnitQueueItemTime" ReturnType="fixed" ArgumentList="unit inUnit, int inTimeType, int inItem">
         <![CDATA[native fixed    UnitQueueItemTime (unit inUnit, int inTimeType, int inItem);]]>
    </Native>
    <Native Name="UnitQueueItemTypeCheck" ReturnType="bool" ArgumentList="unit inUnit, int inItem, int inType">
         <![CDATA[native bool     UnitQueueItemTypeCheck (unit inUnit, int inItem, int inType);]]>
    </Native>
    <Native Name="UnitQueueGetProperty" ReturnType="int" ArgumentList="unit inUnit, int inProp">
         <![CDATA[native int      UnitQueueGetProperty (unit inUnit, int inProp);]]>
    </Native>
    <Native Name="UnitMoverExists" ReturnType="bool" ArgumentList="unit inUnit, string inMover">
         <![CDATA[native bool     UnitMoverExists (unit inUnit, string inMover);]]>
    </Native>
    <Native Name="UnitTestPlane" ReturnType="bool" ArgumentList="unit inUnit, int inPlane">
         <![CDATA[native bool     UnitTestPlane (unit inUnit, int inPlane);]]>
    </Native>
    <Variable Name="c_unitProgressTypeConstruct" Type="int" Value="0">
         <![CDATA[const int c_unitProgressTypeConstruct       = 0;]]>
    </Variable>
    <Variable Name="c_unitProgressTypeTrain" Type="int" Value="1">
         <![CDATA[const int c_unitProgressTypeTrain           = 1;]]>
    </Variable>
    <Variable Name="c_unitProgressTypeResearch" Type="int" Value="2">
         <![CDATA[const int c_unitProgressTypeResearch        = 2;]]>
    </Variable>
    <Variable Name="c_unitProgressTypeArmMagazine" Type="int" Value="3">
         <![CDATA[const int c_unitProgressTypeArmMagazine     = 3;]]>
    </Variable>
    <Variable Name="c_unitProgressTypeSpecialize" Type="int" Value="4">
         <![CDATA[const int c_unitProgressTypeSpecialize      = 4;]]>
    </Variable>
    <Variable Name="c_unitProgressTypeRevive" Type="int" Value="5">
         <![CDATA[const int c_unitProgressTypeRevive          = 5;]]>
    </Variable>
    <Variable Name="c_unitProgressTypeLearn" Type="int" Value="6">
         <![CDATA[const int c_unitProgressTypeLearn           = 6;]]>
    </Variable>
    <Variable Name="c_unitProgressStageStart" Type="int" Value="0">
         <![CDATA[const int c_unitProgressStageStart          = 0;]]>
    </Variable>
    <Variable Name="c_unitProgressStageCancel" Type="int" Value="1">
         <![CDATA[const int c_unitProgressStageCancel         = 1;]]>
    </Variable>
    <Variable Name="c_unitProgressStageComplete" Type="int" Value="2">
         <![CDATA[const int c_unitProgressStageComplete       = 2;]]>
    </Variable>
    <Variable Name="c_unitProgressStagePause" Type="int" Value="3">
         <![CDATA[const int c_unitProgressStagePause          = 3;]]>
    </Variable>
    <Variable Name="c_unitProgressStageResume" Type="int" Value="4">
         <![CDATA[const int c_unitProgressStageResume         = 4;]]>
    </Variable>
    <Variable Name="c_unitProgressStateEmpty" Type="int" Value="0">
         <![CDATA[const int c_unitProgressStateEmpty          = 0;]]>
    </Variable>
    <Variable Name="c_unitProgressStateActive" Type="int" Value="1">
         <![CDATA[const int c_unitProgressStateActive         = 1;]]>
    </Variable>
    <Variable Name="c_unitProgressStatePaused" Type="int" Value="2">
         <![CDATA[const int c_unitProgressStatePaused         = 2;]]>
    </Variable>
    <Native Name="UnitGetProgressComplete" ReturnType="fixed" ArgumentList="unit inUnit, int inSlot">
         <![CDATA[native fixed    UnitGetProgressComplete (unit inUnit, int inSlot);]]>
    </Native>
    <Native Name="UnitSetProgressComplete" ReturnType="void" ArgumentList="unit inUnit, int inSlot, int inPercent">
         <![CDATA[native void     UnitSetProgressComplete (unit inUnit, int inSlot, int inPercent);]]>
    </Native>
    <Native Name="UnitSetProgressStage" ReturnType="void" ArgumentList="unit inUnit, int inSlot, int inStage">
         <![CDATA[native void     UnitSetProgressStage (unit inUnit, int inSlot, int inStage);]]>
    </Native>
    <Native Name="UnitCheckProgressState" ReturnType="bool" ArgumentList="unit inUnit, int inSlot, int inState">
         <![CDATA[native bool     UnitCheckProgressState (unit inUnit, int inSlot, int inState);]]>
    </Native>
    <Variable Name="c_unitBehaviorFlagPermanent" Type="int" Value="0">
         <![CDATA[const int c_unitBehaviorFlagPermanent           = 0;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagRestorable" Type="int" Value="1">
         <![CDATA[const int c_unitBehaviorFlagRestorable          = 1;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagTemporary" Type="int" Value="2">
         <![CDATA[const int c_unitBehaviorFlagTemporary           = 2;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagChanneled" Type="int" Value="3">
         <![CDATA[const int c_unitBehaviorFlagChanneled           = 3;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagChanneling" Type="int" Value="4">
         <![CDATA[const int c_unitBehaviorFlagChanneling          = 4;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagCountdown" Type="int" Value="5">
         <![CDATA[const int c_unitBehaviorFlagCountdown           = 5;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagExtend" Type="int" Value="6">
         <![CDATA[const int c_unitBehaviorFlagExtend              = 6;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagDisableBuilding" Type="int" Value="7">
         <![CDATA[const int c_unitBehaviorFlagDisableBuilding     = 7;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagRemoveDamageResponseExhausted" Type="int" Value="8">
         <![CDATA[const int c_unitBehaviorFlagRemoveDamageResponseExhausted = 8;]]>
    </Variable>
    <Variable Name="c_unitBehaviorFlagHidden" Type="int" Value="9">
         <![CDATA[const int c_unitBehaviorFlagHidden              = 9;]]>
    </Variable>
    <Variable Name="c_unitBehaviorCountAll" Type="int" Value="-1">
         <![CDATA[const int c_unitBehaviorCountAll                = -1;]]>
    </Variable>
    <Native Name="UnitBehaviorAdd" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, unit inCaster, int inCount">
         <![CDATA[native void     UnitBehaviorAdd (unit inUnit, string inBehavior, unit inCaster, int inCount);]]>
    </Native>
    <Native Name="UnitBehaviorAddPlayer" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, int inPlayer, int inCount">
         <![CDATA[native void     UnitBehaviorAddPlayer (unit inUnit, string inBehavior, int inPlayer, int inCount);]]>
    </Native>
    <Native Name="UnitBehaviorCountAll" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int      UnitBehaviorCountAll (unit inUnit);]]>
    </Native>
    <Native Name="UnitBehaviorCount" ReturnType="int" ArgumentList="unit inUnit, string inBehavior">
         <![CDATA[native int      UnitBehaviorCount (unit inUnit, string inBehavior);]]>
    </Native>
    <Native Name="UnitBehaviorDuration" ReturnType="fixed" ArgumentList="unit inUnit, string inBehavior">
         <![CDATA[native fixed    UnitBehaviorDuration (unit inUnit, string inBehavior);]]>
    </Native>
    <Native Name="UnitBehaviorSetDuration" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, fixed inDuration">
         <![CDATA[native void     UnitBehaviorSetDuration (unit inUnit, string inBehavior, fixed inDuration);]]>
    </Native>
    <Native Name="UnitBehaviorEnabled" ReturnType="bool" ArgumentList="unit inUnit, string inBehavior">
         <![CDATA[native bool     UnitBehaviorEnabled (unit inUnit, string inBehavior);]]>
    </Native>
    <Native Name="UnitBehaviorGet" ReturnType="string" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native string   UnitBehaviorGet (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitHasBehavior" ReturnType="bool" ArgumentList="unit inUnit, string inBehavior">
         <![CDATA[native bool     UnitHasBehavior (unit inUnit, string inBehavior);]]>
    </Native>
    <Native Name="UnitBehaviorRemove" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, int inCount">
         <![CDATA[native void     UnitBehaviorRemove (unit inUnit, string inBehavior, int inCount);]]>
    </Native>
    <Native Name="UnitBehaviorRemovePlayer" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, int inPlayer, int inCount">
         <![CDATA[native void     UnitBehaviorRemovePlayer (unit inUnit, string inBehavior, int inPlayer, int inCount);]]>
    </Native>
    <Native Name="UnitBehaviorTransfer" ReturnType="void" ArgumentList="unit inSource, unit inDest, string inBehavior, int inCount">
         <![CDATA[native void     UnitBehaviorTransfer (unit inSource, unit inDest, string inBehavior, int inCount);]]>
    </Native>
    <Native Name="UnitBehaviorHasFlag" ReturnType="bool" ArgumentList="string inBehavior, int inCategory">
         <![CDATA[native bool     UnitBehaviorHasFlag (string inBehavior, int inCategory);]]>
    </Native>
    <Native Name="UnitBehaviorRemoveCategory" ReturnType="void" ArgumentList="unit inUnit, int inCategory">
         <![CDATA[native void     UnitBehaviorRemoveCategory (unit inUnit, int inCategory);]]>
    </Native>
    <Native Name="UnitBehaviorAddChargeRegen" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, string inCharge, fixed inVal">
         <![CDATA[native void     UnitBehaviorAddChargeRegen (unit inUnit, string inBehavior, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="UnitBehaviorGetChargeRegen" ReturnType="fixed" ArgumentList="unit inUnit, string inBehavior, string inCharge">
         <![CDATA[native fixed    UnitBehaviorGetChargeRegen (unit inUnit, string inBehavior, string inCharge);]]>
    </Native>
    <Native Name="UnitBehaviorAddChargeUsed" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, string inCharge, fixed inVal">
         <![CDATA[native void     UnitBehaviorAddChargeUsed (unit inUnit, string inBehavior, string inCharge, fixed inVal);]]>
    </Native>
    <Native Name="UnitBehaviorGetChargeUsed" ReturnType="fixed" ArgumentList="unit inUnit, string inBehavior, string inCharge">
         <![CDATA[native fixed    UnitBehaviorGetChargeUsed (unit inUnit, string inBehavior, string inCharge);]]>
    </Native>
    <Native Name="UnitBehaviorAddCooldown" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, string inCooldown, fixed inVal">
         <![CDATA[native void     UnitBehaviorAddCooldown (unit inUnit, string inBehavior, string inCooldown, fixed inVal);]]>
    </Native>
    <Native Name="UnitBehaviorGetCooldown" ReturnType="fixed" ArgumentList="unit inUnit, string inBehavior, string inCooldown">
         <![CDATA[native fixed    UnitBehaviorGetCooldown (unit inUnit, string inBehavior, string inCooldown);]]>
    </Native>
    <Native Name="UnitXPGainEnable" ReturnType="void" ArgumentList="unit inUnit, string inBehavior, bool inEnable">
         <![CDATA[native void     UnitXPGainEnable (unit inUnit, string inBehavior, bool inEnable);]]>
    </Native>
    <Native Name="UnitMarker" ReturnType="marker" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native marker   UnitMarker (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitMarkerAdd" ReturnType="void" ArgumentList="unit inUnit, marker inMarker">
         <![CDATA[native void     UnitMarkerAdd (unit inUnit, marker inMarker);]]>
    </Native>
    <Native Name="UnitMarkerCount" ReturnType="int" ArgumentList="unit inUnit, marker inMarker">
         <![CDATA[native int      UnitMarkerCount (unit inUnit, marker inMarker);]]>
    </Native>
    <Native Name="UnitMarkerRemove" ReturnType="void" ArgumentList="unit inUnit, marker inMarker">
         <![CDATA[native void     UnitMarkerRemove (unit inUnit, marker inMarker);]]>
    </Native>
    <Variable Name="c_orderQueueReplace" Type="int" Value="0">
         <![CDATA[const int c_orderQueueReplace       = 0;]]>
    </Variable>
    <Variable Name="c_orderQueueAddToEnd" Type="int" Value="1">
         <![CDATA[const int c_orderQueueAddToEnd      = 1;]]>
    </Variable>
    <Variable Name="c_orderQueueAddToFront" Type="int" Value="2">
         <![CDATA[const int c_orderQueueAddToFront    = 2;]]>
    </Variable>
    <Native Name="UnitOrder" ReturnType="order" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native order    UnitOrder (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitOrderCount" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int      UnitOrderCount (unit inUnit);]]>
    </Native>
    <Native Name="UnitOrderHasAbil" ReturnType="bool" ArgumentList="unit inUnit, string abilLink">
         <![CDATA[native bool     UnitOrderHasAbil (unit inUnit, string abilLink);]]>
    </Native>
    <Native Name="UnitOrderIsValid" ReturnType="bool" ArgumentList="unit inUnit, order inOrder">
         <![CDATA[native bool     UnitOrderIsValid (unit inUnit, order inOrder);]]>
    </Native>
    <Native Name="UnitIsHarvesting" ReturnType="bool" ArgumentList="unit inUnit, int inResource">
         <![CDATA[native bool     UnitIsHarvesting (unit inUnit, int inResource);]]>
    </Native>
    <Native Name="UnitIssueOrder" ReturnType="bool" ArgumentList="unit inUnit, order inOrder, int inQueueType">
         <![CDATA[native bool     UnitIssueOrder (unit inUnit, order inOrder, int inQueueType);]]>
    </Native>
    <Native Name="UnitRallyPoint" ReturnType="int" ArgumentList="unit inUnit, unit inUser">
         <![CDATA[native int      UnitRallyPoint (unit inUnit, unit inUser);]]>
    </Native>
    <Native Name="UnitRallyPointCount" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int      UnitRallyPointCount (unit inUnit);]]>
    </Native>
    <Native Name="UnitRallyPointTargetCount" ReturnType="int" ArgumentList="unit inUnit, int inPoint">
         <![CDATA[native int      UnitRallyPointTargetCount (unit inUnit, int inPoint);]]>
    </Native>
    <Native Name="UnitRallyPointTargetPoint" ReturnType="point" ArgumentList="unit inUnit, int inPoint, int inTarget">
         <![CDATA[native point    UnitRallyPointTargetPoint (unit inUnit, int inPoint, int inTarget);]]>
    </Native>
    <Native Name="UnitRallyPointTargetUnit" ReturnType="unit" ArgumentList="unit inUnit, int inPoint, int inTarget">
         <![CDATA[native unit     UnitRallyPointTargetUnit (unit inUnit, int inPoint, int inTarget);]]>
    </Native>
    <Native Name="UnitTechTreeBehaviorCount" ReturnType="int" ArgumentList="unit inUnit, string behaviorType, int countType">
         <![CDATA[native int UnitTechTreeBehaviorCount (unit inUnit, string behaviorType, int countType);]]>
    </Native>
    <Native Name="UnitTechTreeUnitCount" ReturnType="int" ArgumentList="unit inUnit, string unitType, int countType">
         <![CDATA[native int UnitTechTreeUnitCount (unit inUnit, string unitType, int countType);]]>
    </Native>
    <Native Name="UnitTechTreeUpgradeCount" ReturnType="int" ArgumentList="unit inUnit, string upgradeType, int countType">
         <![CDATA[native int UnitTechTreeUpgradeCount (unit inUnit, string upgradeType, int countType);]]>
    </Native>
    <Variable Name="c_unitInventoryCountCarried" Type="int" Value="0">
         <![CDATA[const int c_unitInventoryCountCarried    = 0;]]>
    </Variable>
    <Variable Name="c_unitInventoryCountEmpty" Type="int" Value="1">
         <![CDATA[const int c_unitInventoryCountEmpty      = 1;]]>
    </Variable>
    <Variable Name="c_unitInventoryCountTotal" Type="int" Value="2">
         <![CDATA[const int c_unitInventoryCountTotal      = 2;]]>
    </Variable>
    <Native Name="UnitInventoryCount" ReturnType="int" ArgumentList="unit inUnit, int inCountType">
         <![CDATA[native int       UnitInventoryCount (unit inUnit, int inCountType);]]>
    </Native>
    <Native Name="UnitInventoryItem" ReturnType="unit" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native unit      UnitInventoryItem (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitInventoryGroup" ReturnType="unitgroup" ArgumentList="unit inUnit">
         <![CDATA[native unitgroup UnitInventoryGroup (unit inUnit);]]>
    </Native>
    <Native Name="UnitInventoryCreate" ReturnType="unit" ArgumentList="unit inUnit, string itemType">
         <![CDATA[native unit      UnitInventoryCreate (unit inUnit, string itemType);]]>
    </Native>
    <Native Name="UnitInventoryLastCreated" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit      UnitInventoryLastCreated ();]]>
    </Native>
    <Native Name="UnitWeaponAdd" ReturnType="void" ArgumentList="unit inUnit, string inWeapon, string inTurret">
         <![CDATA[native void         UnitWeaponAdd (unit inUnit, string inWeapon, string inTurret);]]>
    </Native>
    <Native Name="UnitWeaponCount" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int          UnitWeaponCount (unit inUnit);]]>
    </Native>
    <Native Name="UnitWeaponCheck" ReturnType="bool" ArgumentList="unit inUnit, int inIndex, int inTarget">
         <![CDATA[native bool         UnitWeaponCheck (unit inUnit, int inIndex, int inTarget);]]>
    </Native>
    <Native Name="UnitWeaponGet" ReturnType="string" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native string       UnitWeaponGet (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitWeaponIsEnabled" ReturnType="bool" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native bool         UnitWeaponIsEnabled (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitWeaponPeriod" ReturnType="fixed" ArgumentList="unit inUnit, int inIndex">
         <![CDATA[native fixed        UnitWeaponPeriod (unit inUnit, int inIndex);]]>
    </Native>
    <Native Name="UnitWeaponRemove" ReturnType="void" ArgumentList="unit inUnit, string inWeapon">
         <![CDATA[native void         UnitWeaponRemove (unit inUnit, string inWeapon);]]>
    </Native>
    <Native Name="UnitWeaponsPlaneTest" ReturnType="bool" ArgumentList="unit inUnit, int inPlane">
         <![CDATA[native bool         UnitWeaponsPlaneTest (unit inUnit, int inPlane);]]>
    </Native>
    <Native Name="UnitXPTotal" ReturnType="fixed" ArgumentList="unit inUnit">
         <![CDATA[native fixed    UnitXPTotal (unit inUnit);]]>
    </Native>
    <Native Name="UnitLevel" ReturnType="int" ArgumentList="unit inUnit">
         <![CDATA[native int      UnitLevel (unit inUnit);]]>
    </Native>
    <Variable Name="c_unitCostMinerals" Type="int" Value="0">
         <![CDATA[const int c_unitCostMinerals            = 0;]]>
    </Variable>
    <Variable Name="c_unitCostVespene" Type="int" Value="1">
         <![CDATA[const int c_unitCostVespene             = 1;]]>
    </Variable>
    <Variable Name="c_unitCostTerrazine" Type="int" Value="2">
         <![CDATA[const int c_unitCostTerrazine           = 2;]]>
    </Variable>
    <Variable Name="c_unitCostCustomResource" Type="int" Value="3">
         <![CDATA[const int c_unitCostCustomResource      = 3;]]>
    </Variable>
    <Variable Name="c_unitCostSumMineralsVespene" Type="int" Value="4">
         <![CDATA[const int c_unitCostSumMineralsVespene  = 4;]]>
    </Variable>
    <Native Name="UnitTypeFromString" ReturnType="string" ArgumentList="string inString">
         <![CDATA[native string UnitTypeFromString (string inString);]]>
    </Native>
    <Native Name="UnitTypeGetName" ReturnType="text" ArgumentList="string inUnitType">
         <![CDATA[native text UnitTypeGetName (string inUnitType);]]>
    </Native>
    <Native Name="UnitTypeGetProperty" ReturnType="fixed" ArgumentList="string inUnitType, int inProp">
         <![CDATA[native fixed UnitTypeGetProperty (string inUnitType, int inProp);]]>
    </Native>
    <Native Name="UnitTypeGetCost" ReturnType="int" ArgumentList="string inUnitType, int inCostType">
         <![CDATA[native int UnitTypeGetCost (string inUnitType, int inCostType);]]>
    </Native>
    <Native Name="UnitTypeTestFlag" ReturnType="bool" ArgumentList="string inUnitType, int inFlag">
         <![CDATA[native bool UnitTypeTestFlag (string inUnitType, int inFlag);]]>
    </Native>
    <Native Name="UnitTypeTestAttribute" ReturnType="bool" ArgumentList="string inUnitType, int inAttribute">
         <![CDATA[native bool UnitTypeTestAttribute (string inUnitType, int inAttribute);]]>
    </Native>
    <Native Name="UnitTypeIsAffectedByUpgrade" ReturnType="bool" ArgumentList="string inUnitType, string inUpgrade">
         <![CDATA[native bool UnitTypeIsAffectedByUpgrade (string inUnitType, string inUpgrade);]]>
    </Native>
    <Native Name="UnitTypeAnimationLoad" ReturnType="void" ArgumentList="string inUnitType, string animPath">
         <![CDATA[native void UnitTypeAnimationLoad (string inUnitType, string animPath);]]>
    </Native>
    <Native Name="UnitTypeAnimationUnload" ReturnType="void" ArgumentList="string inUnitType, string animPath">
         <![CDATA[native void UnitTypeAnimationUnload (string inUnitType, string animPath);]]>
    </Native>
    <Variable Name="c_unitDamageEither" Type="int" Value="0">
         <![CDATA[const int c_unitDamageEither    = 0;]]>
    </Variable>
    <Variable Name="c_unitDamageFatal" Type="int" Value="1">
         <![CDATA[const int c_unitDamageFatal     = 1;]]>
    </Variable>
    <Variable Name="c_unitDamageNonFatal" Type="int" Value="2">
         <![CDATA[const int c_unitDamageNonFatal  = 2;]]>
    </Variable>
    <Variable Name="c_unitDamageTypeAny" Type="int" Value="-1">
         <![CDATA[const int c_unitDamageTypeAny       = -1;]]>
    </Variable>
    <Variable Name="c_unitDamageTypeSpell" Type="int" Value="0">
         <![CDATA[const int c_unitDamageTypeSpell     = 0;]]>
    </Variable>
    <Variable Name="c_unitDamageTypeMelee" Type="int" Value="1">
         <![CDATA[const int c_unitDamageTypeMelee     = 1;]]>
    </Variable>
    <Variable Name="c_unitDamageTypeRanged" Type="int" Value="2">
         <![CDATA[const int c_unitDamageTypeRanged    = 2;]]>
    </Variable>
    <Variable Name="c_unitDamageTypeSplash" Type="int" Value="3">
         <![CDATA[const int c_unitDamageTypeSplash    = 3;]]>
    </Variable>
    <Native Name="TriggerAddEventUnitCreated" ReturnType="void" ArgumentList="trigger t, unitref u, string creatorAbil, string creatorBehavior">
         <![CDATA[native void     TriggerAddEventUnitCreated (trigger t, unitref u, string creatorAbil, string creatorBehavior);]]>
    </Native>
    <Native Name="TriggerAddEventUnitRemoved" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitRemoved (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitDied" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitDied (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitGainExperience" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitGainExperience (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitGainLevel" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitGainLevel (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitAcquiredTarget" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitAcquiredTarget (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitStartedAttack" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitStartedAttack (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitAttacked" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitAttacked (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitAttributeChange" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitAttributeChange (trigger t, unitref u);]]>
    </Native>
    <Native Name="TriggerAddEventUnitDamaged" ReturnType="void" ArgumentList="trigger inTrigger, unitref inUnit, int inDamageType, int inDamageFatal, string inEffect">
         <![CDATA[native void     TriggerAddEventUnitDamaged (trigger inTrigger, unitref inUnit, int inDamageType, int inDamageFatal, string inEffect);]]>
    </Native>
    <Native Name="TriggerAddEventUnitBecomesIdle" ReturnType="void" ArgumentList="trigger t, unitref u, bool idle">
         <![CDATA[native void     TriggerAddEventUnitBecomesIdle (trigger t, unitref u, bool idle);]]>
    </Native>
    <Native Name="EventUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnit ();]]>
    </Native>
    <Native Name="EventUnitTarget" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitTarget ();]]>
    </Native>
    <Native Name="EventUnitCreatedUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitCreatedUnit ();]]>
    </Native>
    <Native Name="EventUnitCreatedAbil" ReturnType="string" ArgumentList="">
         <![CDATA[native string   EventUnitCreatedAbil ();]]>
    </Native>
    <Native Name="EventUnitCreatedBehavior" ReturnType="string" ArgumentList="">
         <![CDATA[native string   EventUnitCreatedBehavior ();]]>
    </Native>
    <Native Name="EventUnitDamageAmount" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed    EventUnitDamageAmount ();]]>
    </Native>
    <Native Name="EventUnitDamageSourceUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitDamageSourceUnit ();]]>
    </Native>
    <Native Name="EventUnitDamageSourcePlayer" ReturnType="int" ArgumentList="">
         <![CDATA[native int      EventUnitDamageSourcePlayer ();]]>
    </Native>
    <Native Name="EventUnitDamageSourcePoint" ReturnType="point" ArgumentList="">
         <![CDATA[native point    EventUnitDamageSourcePoint ();]]>
    </Native>
    <Native Name="EventUnitDamageDeathCheck" ReturnType="bool" ArgumentList="int inType">
         <![CDATA[native bool     EventUnitDamageDeathCheck (int inType);]]>
    </Native>
    <Native Name="EventUnitDamageEffect" ReturnType="string" ArgumentList="">
         <![CDATA[native string   EventUnitDamageEffect ();]]>
    </Native>
    <Native Name="EventUnitBehavior" ReturnType="string" ArgumentList="">
         <![CDATA[native string   EventUnitBehavior ();]]>
    </Native>
    <Native Name="EventUnitXPDelta" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed    EventUnitXPDelta ();]]>
    </Native>
    <Native Name="EventUnitAttributePoints" ReturnType="int" ArgumentList="">
         <![CDATA[native int      EventUnitAttributePoints ();]]>
    </Native>
    <Native Name="TriggerAddEventUnitProperty" ReturnType="void" ArgumentList="trigger t, unitref u, int prop">
         <![CDATA[native void     TriggerAddEventUnitProperty (trigger t, unitref u, int prop);]]>
    </Native>
    <Native Name="TriggerAddEventUnitRegion" ReturnType="void" ArgumentList="trigger t, unitref u, region r, bool state">
         <![CDATA[native void     TriggerAddEventUnitRegion (trigger t, unitref u, region r, bool state);]]>
    </Native>
    <Native Name="TriggerAddEventUnitRange" ReturnType="void" ArgumentList="trigger t, unitref u, unit fromUnit, fixed range, bool state">
         <![CDATA[native void     TriggerAddEventUnitRange (trigger t, unitref u, unit fromUnit, fixed range, bool state);]]>
    </Native>
    <Native Name="TriggerAddEventUnitRangePoint" ReturnType="void" ArgumentList="trigger t, unitref u, point p, fixed distance, bool state">
         <![CDATA[native void     TriggerAddEventUnitRangePoint (trigger t, unitref u, point p, fixed distance, bool state);]]>
    </Native>
    <Native Name="TriggerAddEventUnitCargo" ReturnType="void" ArgumentList="trigger t, unitref u, bool state">
         <![CDATA[native void     TriggerAddEventUnitCargo (trigger t, unitref u, bool state);]]>
    </Native>
    <Native Name="EventUnitRegion" ReturnType="region" ArgumentList="">
         <![CDATA[native region   EventUnitRegion ();]]>
    </Native>
    <Native Name="EventUnitCargo" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitCargo ();]]>
    </Native>
    <Native Name="TriggerAddEventUnitSelected" ReturnType="void" ArgumentList="trigger t, unitref u, int player, bool state">
         <![CDATA[native void     TriggerAddEventUnitSelected (trigger t, unitref u, int player, bool state);]]>
    </Native>
    <Native Name="TriggerAddEventUnitClick" ReturnType="void" ArgumentList="trigger t, unitref u, int player">
         <![CDATA[native void     TriggerAddEventUnitClick (trigger t, unitref u, int player);]]>
    </Native>
    <Native Name="TriggerAddEventUnitHighlight" ReturnType="void" ArgumentList="trigger t, unitref u, int player, bool state">
         <![CDATA[native void     TriggerAddEventUnitHighlight (trigger t, unitref u, int player, bool state);]]>
    </Native>
    <Native Name="TriggerAddEventUnitOrder" ReturnType="void" ArgumentList="trigger t, unitref u, abilcmd a">
         <![CDATA[native void     TriggerAddEventUnitOrder (trigger t, unitref u, abilcmd a);]]>
    </Native>
    <Native Name="EventUnitOrder" ReturnType="order" ArgumentList="">
         <![CDATA[native order    EventUnitOrder ();]]>
    </Native>
    <Variable Name="c_unitAbilStageComplete" Type="int" Value="-6">
         <![CDATA[const int c_unitAbilStageComplete           = -6;]]>
    </Variable>
    <Variable Name="c_unitAbilStagePreempt" Type="int" Value="-5">
         <![CDATA[const int c_unitAbilStagePreempt            = -5;]]>
    </Variable>
    <Variable Name="c_unitAbilStageCancel" Type="int" Value="-4">
         <![CDATA[const int c_unitAbilStageCancel             = -4;]]>
    </Variable>
    <Variable Name="c_unitAbilStageExecute" Type="int" Value="-3">
         <![CDATA[const int c_unitAbilStageExecute            = -3;]]>
    </Variable>
    <Variable Name="c_unitAbilStageQueue" Type="int" Value="-2">
         <![CDATA[const int c_unitAbilStageQueue              = -2;]]>
    </Variable>
    <Variable Name="c_unitAbilStageAll" Type="int" Value="-1">
         <![CDATA[const int c_unitAbilStageAll                = -1;]]>
    </Variable>
    <Native Name="TriggerAddEventUnitAbility" ReturnType="void" ArgumentList="trigger t, unitref u, abilcmd a, int stage, bool includeSharedAbils">
         <![CDATA[native void     TriggerAddEventUnitAbility (trigger t, unitref u, abilcmd a, int stage, bool includeSharedAbils);]]>
    </Native>
    <Native Name="EventUnitAbility" ReturnType="abilcmd" ArgumentList="">
         <![CDATA[native abilcmd  EventUnitAbility ();]]>
    </Native>
    <Native Name="EventUnitAbilityStage" ReturnType="int" ArgumentList="">
         <![CDATA[native int      EventUnitAbilityStage ();]]>
    </Native>
    <Native Name="EventUnitTargetPoint" ReturnType="point" ArgumentList="">
         <![CDATA[native point    EventUnitTargetPoint ();]]>
    </Native>
    <Native Name="EventUnitTargetUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitTargetUnit ();]]>
    </Native>
    <Native Name="TriggerAddEventUnitConstructProgress" ReturnType="void" ArgumentList="trigger t, unitref u, int stage">
         <![CDATA[native void     TriggerAddEventUnitConstructProgress (trigger t, unitref u, int stage);]]>
    </Native>
    <Native Name="TriggerAddEventUnitTrainProgress" ReturnType="void" ArgumentList="trigger t, unitref u, int stage">
         <![CDATA[native void     TriggerAddEventUnitTrainProgress (trigger t, unitref u, int stage);]]>
    </Native>
    <Native Name="TriggerAddEventUnitResearchProgress" ReturnType="void" ArgumentList="trigger t, unitref u, int stage">
         <![CDATA[native void     TriggerAddEventUnitResearchProgress (trigger t, unitref u, int stage);]]>
    </Native>
    <Native Name="TriggerAddEventUnitArmMagazineProgress" ReturnType="void" ArgumentList="trigger t, unitref u, int stage">
         <![CDATA[native void     TriggerAddEventUnitArmMagazineProgress (trigger t, unitref u, int stage);]]>
    </Native>
    <Native Name="TriggerAddEventUnitSpecializeProgress" ReturnType="void" ArgumentList="trigger t, unitref u, int stage">
         <![CDATA[native void     TriggerAddEventUnitSpecializeProgress (trigger t, unitref u, int stage);]]>
    </Native>
    <Native Name="EventUnitProgressObjectType" ReturnType="string" ArgumentList="">
         <![CDATA[native string   EventUnitProgressObjectType ();]]>
    </Native>
    <Native Name="EventUnitProgressUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitProgressUnit ();]]>
    </Native>
    <Native Name="TriggerAddEventUnitPowerup" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitPowerup (trigger t, unitref u);]]>
    </Native>
    <Native Name="EventUnitPowerupUnit" ReturnType="unit" ArgumentList="">
         <![CDATA[native unit     EventUnitPowerupUnit ();]]>
    </Native>
    <Native Name="TriggerAddEventUnitRevive" ReturnType="void" ArgumentList="trigger t, unitref u">
         <![CDATA[native void     TriggerAddEventUnitRevive (trigger t, unitref u);]]>
    </Native>
    <Native Name="UnitFilter" ReturnType="unitfilter" ArgumentList="int inRequired1, int inRequired2, int inExcluded1, int inExcluded2">
         <![CDATA[native unitfilter UnitFilter (int inRequired1, int inRequired2, int inExcluded1, int inExcluded2);]]>
    </Native>
    <Native Name="UnitFilterStr" ReturnType="unitfilter" ArgumentList="string filters">
         <![CDATA[native unitfilter UnitFilterStr (string filters);]]>
    </Native>
    <Variable Name="c_unitFilterAllowed" Type="int" Value="0">
         <![CDATA[const int c_unitFilterAllowed   = 0;]]>
    </Variable>
    <Variable Name="c_unitFilterRequired" Type="int" Value="1">
         <![CDATA[const int c_unitFilterRequired  = 1;]]>
    </Variable>
    <Variable Name="c_unitFilterExcluded" Type="int" Value="2">
         <![CDATA[const int c_unitFilterExcluded  = 2;]]>
    </Variable>
    <Native Name="UnitFilterSetState" ReturnType="void" ArgumentList="unitfilter inFilter, int inType, int inState">
         <![CDATA[native void UnitFilterSetState (unitfilter inFilter, int inType, int inState);]]>
    </Native>
    <Native Name="UnitFilterGetState" ReturnType="int" ArgumentList="unitfilter inFilter, int inType">
         <![CDATA[native int  UnitFilterGetState (unitfilter inFilter, int inType);]]>
    </Native>
    <Native Name="UnitFilterMatch" ReturnType="bool" ArgumentList="unit inUnit, int inPlayer, unitfilter inFilter">
         <![CDATA[native bool UnitFilterMatch (unit inUnit, int inPlayer, unitfilter inFilter);]]>
    </Native>
    <Variable Name="c_unitAllianceAny" Type="int" Value="0">
         <![CDATA[const int c_unitAllianceAny                = 0;]]>
    </Variable>
    <Variable Name="c_unitAllianceAlly" Type="int" Value="1">
         <![CDATA[const int c_unitAllianceAlly               = 1;]]>
    </Variable>
    <Variable Name="c_unitAllianceEnemy" Type="int" Value="2">
         <![CDATA[const int c_unitAllianceEnemy              = 2;]]>
    </Variable>
    <Variable Name="c_unitAllianceAllyExcludeSelf" Type="int" Value="3">
         <![CDATA[const int c_unitAllianceAllyExcludeSelf    = 3;]]>
    </Variable>
    <Variable Name="c_unitAllianceAnyExcludeSelf" Type="int" Value="4">
         <![CDATA[const int c_unitAllianceAnyExcludeSelf     = 4;]]>
    </Variable>
    <Variable Name="c_noMaxCount" Type="int" Value="0">
         <![CDATA[const int c_noMaxCount = 0;]]>
    </Variable>
    <Native Name="UnitGroupEmpty" ReturnType="unitgroup" ArgumentList="">
         <![CDATA[native unitgroup UnitGroupEmpty ();]]>
    </Native>
    <Native Name="UnitGroupCopy" ReturnType="unitgroup" ArgumentList="unitgroup inGroup">
         <![CDATA[native unitgroup UnitGroupCopy (unitgroup inGroup);]]>
    </Native>
    <Native Name="UnitGroupFromId" ReturnType="unitgroup" ArgumentList="int id">
         <![CDATA[native unitgroup UnitGroupFromId (int id);]]>
    </Native>
    <Native Name="UnitGroup" ReturnType="unitgroup" ArgumentList="string type, int player, region r, unitfilter filter, int maxCount">
         <![CDATA[native unitgroup UnitGroup (string type, int player, region r, unitfilter filter, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupAlliance" ReturnType="unitgroup" ArgumentList="int player, int alliance, region r, unitfilter filter, int maxCount">
         <![CDATA[native unitgroup UnitGroupAlliance (int player, int alliance, region r, unitfilter filter, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupFilter" ReturnType="unitgroup" ArgumentList="string type, int player, unitgroup g, unitfilter filter, int maxCount">
         <![CDATA[native unitgroup UnitGroupFilter (string type, int player, unitgroup g, unitfilter filter, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupFilterAlliance" ReturnType="unitgroup" ArgumentList="unitgroup g, int player, int alliance, int maxCount">
         <![CDATA[native unitgroup UnitGroupFilterAlliance (unitgroup g, int player, int alliance, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupFilterPlane" ReturnType="unitgroup" ArgumentList="unitgroup g, int plane, int maxCount">
         <![CDATA[native unitgroup UnitGroupFilterPlane (unitgroup g, int plane, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupFilterPlayer" ReturnType="unitgroup" ArgumentList="unitgroup g, int player, int maxCount">
         <![CDATA[native unitgroup UnitGroupFilterPlayer (unitgroup g, int player, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupFilterRegion" ReturnType="unitgroup" ArgumentList="unitgroup g, region r, int maxCount">
         <![CDATA[native unitgroup UnitGroupFilterRegion (unitgroup g, region r, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupFilterThreat" ReturnType="unitgroup" ArgumentList="unitgroup g, unit u, string alternateType, int maxCount">
         <![CDATA[native unitgroup UnitGroupFilterThreat (unitgroup g, unit u, string alternateType, int maxCount);]]>
    </Native>
    <Native Name="UnitGroupIdle" ReturnType="unitgroup" ArgumentList="int player, bool workerOnly">
         <![CDATA[native unitgroup UnitGroupIdle (int player, bool workerOnly);]]>
    </Native>
    <Native Name="UnitGroupClear" ReturnType="void" ArgumentList="unitgroup inGroup">
         <![CDATA[native void UnitGroupClear (unitgroup inGroup);]]>
    </Native>
    <Native Name="UnitGroupAdd" ReturnType="void" ArgumentList="unitgroup inGroup, unit inUnit">
         <![CDATA[native void UnitGroupAdd (unitgroup inGroup, unit inUnit);]]>
    </Native>
    <Native Name="UnitGroupRemove" ReturnType="void" ArgumentList="unitgroup inGroup, unit inUnit">
         <![CDATA[native void UnitGroupRemove (unitgroup inGroup, unit inUnit);]]>
    </Native>
    <Native Name="UnitGroupIssueOrder" ReturnType="bool" ArgumentList="unitgroup inGroup, order inOrder, int inQueueType">
         <![CDATA[native bool UnitGroupIssueOrder (unitgroup inGroup, order inOrder, int inQueueType);]]>
    </Native>
    <Native Name="UnitGroupWaitUntilIdle" ReturnType="void" ArgumentList="unitgroup inGroup, int inCount, bool inIdle">
         <![CDATA[native void UnitGroupWaitUntilIdle (unitgroup inGroup, int inCount, bool inIdle);]]>
    </Native>
    <Variable Name="c_unitCountAll" Type="int" Value="0">
         <![CDATA[const int c_unitCountAll    = 0;]]>
    </Variable>
    <Variable Name="c_unitCountAlive" Type="int" Value="1">
         <![CDATA[const int c_unitCountAlive  = 1;]]>
    </Variable>
    <Variable Name="c_unitCountDead" Type="int" Value="2">
         <![CDATA[const int c_unitCountDead   = 2;]]>
    </Variable>
    <Native Name="UnitGroupCount" ReturnType="int" ArgumentList="unitgroup inGroup, int inType">
         <![CDATA[native int  UnitGroupCount (unitgroup inGroup, int inType);]]>
    </Native>
    <Native Name="UnitGroupUnit" ReturnType="unit" ArgumentList="unitgroup inGroup, int inIndex">
         <![CDATA[native unit UnitGroupUnit (unitgroup inGroup, int inIndex);]]>
    </Native>
    <Native Name="UnitGroupRandomUnit" ReturnType="unit" ArgumentList="unitgroup inGroup, int inType">
         <![CDATA[native unit UnitGroupRandomUnit (unitgroup inGroup, int inType);]]>
    </Native>
    <Native Name="UnitGroupHasUnit" ReturnType="bool" ArgumentList="unitgroup inGroup, unit inUnit">
         <![CDATA[native bool UnitGroupHasUnit (unitgroup inGroup, unit inUnit);]]>
    </Native>
    <Native Name="UnitGroupTestPlane" ReturnType="bool" ArgumentList="unitgroup inGroup, int inPlane">
         <![CDATA[native bool UnitGroupTestPlane (unitgroup inGroup, int inPlane);]]>
    </Native>
    <Native Name="UnitGroupNearestUnit" ReturnType="unit" ArgumentList="unitgroup inGroup, point inPoint">
         <![CDATA[native unit UnitGroupNearestUnit (unitgroup inGroup, point inPoint);]]>
    </Native>
    <Native Name="UnitRefFromUnit" ReturnType="unitref" ArgumentList="unit u">
         <![CDATA[native unitref UnitRefFromUnit (unit u);]]>
    </Native>
    <Native Name="UnitRefFromVariable" ReturnType="unitref" ArgumentList="string v">
         <![CDATA[native unitref UnitRefFromVariable (string v);]]>
    </Native>
    <Native Name="UnitRefToUnit" ReturnType="unit" ArgumentList="unitref r">
         <![CDATA[native unit UnitRefToUnit (unitref r);]]>
    </Native>
    <Native Name="UnitSelect" ReturnType="void" ArgumentList="unit inUnit, int inPlayer, bool inSelect">
         <![CDATA[native void         UnitSelect (unit inUnit, int inPlayer, bool inSelect);]]>
    </Native>
    <Native Name="UnitGroupSelect" ReturnType="void" ArgumentList="unitgroup inGroup, int inPlayer, bool inSelect">
         <![CDATA[native void         UnitGroupSelect (unitgroup inGroup, int inPlayer, bool inSelect);]]>
    </Native>
    <Native Name="UnitClearSelection" ReturnType="void" ArgumentList="int inPlayer">
         <![CDATA[native void         UnitClearSelection (int inPlayer);]]>
    </Native>
    <Native Name="UnitIsSelected" ReturnType="bool" ArgumentList="unit inUnit, int inPlayer">
         <![CDATA[native bool         UnitIsSelected (unit inUnit, int inPlayer);]]>
    </Native>
    <Native Name="UnitGroupSelected" ReturnType="unitgroup" ArgumentList="int inPlayer">
         <![CDATA[native unitgroup    UnitGroupSelected (int inPlayer);]]>
    </Native>
    <Native Name="UnitFlashSelection" ReturnType="void" ArgumentList="unit inUnit, fixed inPeriod">
         <![CDATA[native void         UnitFlashSelection (unit inUnit, fixed inPeriod);]]>
    </Native>
    <Native Name="UnitControlGroupAddUnit" ReturnType="void" ArgumentList="int inPlayer, int inGroup, unit inUnit">
         <![CDATA[native void         UnitControlGroupAddUnit (int inPlayer, int inGroup, unit inUnit);]]>
    </Native>
    <Native Name="UnitControlGroupAddUnits" ReturnType="void" ArgumentList="int inPlayer, int inGroup, unitgroup inUnits">
         <![CDATA[native void         UnitControlGroupAddUnits (int inPlayer, int inGroup, unitgroup inUnits);]]>
    </Native>
    <Native Name="UnitControlGroupRemoveUnit" ReturnType="void" ArgumentList="int inPlayer, int inGroup, unit inUnit">
         <![CDATA[native void         UnitControlGroupRemoveUnit (int inPlayer, int inGroup, unit inUnit);]]>
    </Native>
    <Native Name="UnitControlGroupRemoveUnits" ReturnType="void" ArgumentList="int inPlayer, int inGroup, unitgroup inUnits">
         <![CDATA[native void         UnitControlGroupRemoveUnits (int inPlayer, int inGroup, unitgroup inUnits);]]>
    </Native>
    <Native Name="UnitControlGroupClear" ReturnType="void" ArgumentList="int inPlayer, int inGroup">
         <![CDATA[native void         UnitControlGroupClear (int inPlayer, int inGroup);]]>
    </Native>
    <Variable Name="c_transitionDurationImmediate" Type="fixed" Value="0.0">
         <![CDATA[const fixed c_transitionDurationImmediate   = 0.0;]]>
    </Variable>
    <Variable Name="c_transitionDurationDefault" Type="fixed" Value="-1.0">
         <![CDATA[const fixed c_transitionDurationDefault     = -1.0;]]>
    </Variable>
    <Variable Name="c_messageAreaAll" Type="int" Value="0">
         <![CDATA[const int   c_messageAreaAll                = 0;]]>
    </Variable>
    <Variable Name="c_messageAreaChat" Type="int" Value="1">
         <![CDATA[const int   c_messageAreaChat               = 1;]]>
    </Variable>
    <Variable Name="c_messageAreaObjective" Type="int" Value="2">
         <![CDATA[const int   c_messageAreaObjective          = 2;]]>
    </Variable>
    <Variable Name="c_messageAreaDirective" Type="int" Value="3">
         <![CDATA[const int   c_messageAreaDirective          = 3;]]>
    </Variable>
    <Variable Name="c_messageAreaError" Type="int" Value="4">
         <![CDATA[const int   c_messageAreaError              = 4;]]>
    </Variable>
    <Variable Name="c_messageAreaSubtitle" Type="int" Value="5">
         <![CDATA[const int   c_messageAreaSubtitle           = 5;]]>
    </Variable>
    <Variable Name="c_messageAreaCinematic" Type="int" Value="6">
         <![CDATA[const int   c_messageAreaCinematic          = 6;]]>
    </Variable>
    <Variable Name="c_messageAreaDebug" Type="int" Value="7">
         <![CDATA[const int   c_messageAreaDebug              = 7;]]>
    </Variable>
    <Variable Name="c_messageAreaWarning" Type="int" Value="8">
         <![CDATA[const int   c_messageAreaWarning            = 8;]]>
    </Variable>
    <Variable Name="c_uiModeFullscreen" Type="int" Value="0">
         <![CDATA[const int   c_uiModeFullscreen              = 0;]]>
    </Variable>
    <Variable Name="c_uiModeLetterboxed" Type="int" Value="1">
         <![CDATA[const int   c_uiModeLetterboxed             = 1;]]>
    </Variable>
    <Variable Name="c_uiModeConsole" Type="int" Value="2">
         <![CDATA[const int   c_uiModeConsole                 = 2;]]>
    </Variable>
    <Variable Name="c_mouseButtonNone" Type="int" Value="0">
         <![CDATA[const int   c_mouseButtonNone               = 0;]]>
    </Variable>
    <Variable Name="c_mouseButtonLeft" Type="int" Value="1">
         <![CDATA[const int   c_mouseButtonLeft               = 1;]]>
    </Variable>
    <Variable Name="c_mouseButtonMiddle" Type="int" Value="2">
         <![CDATA[const int   c_mouseButtonMiddle             = 2;]]>
    </Variable>
    <Variable Name="c_mouseButtonRight" Type="int" Value="3">
         <![CDATA[const int   c_mouseButtonRight              = 3;]]>
    </Variable>
    <Variable Name="c_mouseButtonXButton1" Type="int" Value="4">
         <![CDATA[const int   c_mouseButtonXButton1           = 4;]]>
    </Variable>
    <Variable Name="c_mouseButtonXButton2" Type="int" Value="5">
         <![CDATA[const int   c_mouseButtonXButton2           = 5;]]>
    </Variable>
    <Variable Name="c_scaleNormal" Type="int" Value="0">
         <![CDATA[const int   c_scaleNormal                   = 0;]]>
    </Variable>
    <Variable Name="c_scaleAspect" Type="int" Value="1">
         <![CDATA[const int   c_scaleAspect                   = 1;]]>
    </Variable>
    <Variable Name="c_scaleStretch" Type="int" Value="2">
         <![CDATA[const int   c_scaleStretch                  = 2;]]>
    </Variable>
    <Variable Name="c_keyNone" Type="int" Value="-1">
         <![CDATA[const int c_keyNone                  = -1;]]>
    </Variable>
    <Variable Name="c_keyShift" Type="int" Value="0">
         <![CDATA[const int c_keyShift                 = 0;]]>
    </Variable>
    <Variable Name="c_keyControl" Type="int" Value="1">
         <![CDATA[const int c_keyControl               = 1;]]>
    </Variable>
    <Variable Name="c_keyAlt" Type="int" Value="2">
         <![CDATA[const int c_keyAlt                   = 2;]]>
    </Variable>
    <Variable Name="c_key0" Type="int" Value="3">
         <![CDATA[const int c_key0                     = 3;]]>
    </Variable>
    <Variable Name="c_key1" Type="int" Value="4">
         <![CDATA[const int c_key1                     = 4;]]>
    </Variable>
    <Variable Name="c_key2" Type="int" Value="5">
         <![CDATA[const int c_key2                     = 5;]]>
    </Variable>
    <Variable Name="c_key3" Type="int" Value="6">
         <![CDATA[const int c_key3                     = 6;]]>
    </Variable>
    <Variable Name="c_key4" Type="int" Value="7">
         <![CDATA[const int c_key4                     = 7;]]>
    </Variable>
    <Variable Name="c_key5" Type="int" Value="8">
         <![CDATA[const int c_key5                     = 8;]]>
    </Variable>
    <Variable Name="c_key6" Type="int" Value="9">
         <![CDATA[const int c_key6                     = 9;]]>
    </Variable>
    <Variable Name="c_key7" Type="int" Value="10">
         <![CDATA[const int c_key7                     = 10;]]>
    </Variable>
    <Variable Name="c_key8" Type="int" Value="11">
         <![CDATA[const int c_key8                     = 11;]]>
    </Variable>
    <Variable Name="c_key9" Type="int" Value="12">
         <![CDATA[const int c_key9                     = 12;]]>
    </Variable>
    <Variable Name="c_keyA" Type="int" Value="13">
         <![CDATA[const int c_keyA                     = 13;]]>
    </Variable>
    <Variable Name="c_keyB" Type="int" Value="14">
         <![CDATA[const int c_keyB                     = 14;]]>
    </Variable>
    <Variable Name="c_keyC" Type="int" Value="15">
         <![CDATA[const int c_keyC                     = 15;]]>
    </Variable>
    <Variable Name="c_keyD" Type="int" Value="16">
         <![CDATA[const int c_keyD                     = 16;]]>
    </Variable>
    <Variable Name="c_keyE" Type="int" Value="17">
         <![CDATA[const int c_keyE                     = 17;]]>
    </Variable>
    <Variable Name="c_keyF" Type="int" Value="18">
         <![CDATA[const int c_keyF                     = 18;]]>
    </Variable>
    <Variable Name="c_keyG" Type="int" Value="19">
         <![CDATA[const int c_keyG                     = 19;]]>
    </Variable>
    <Variable Name="c_keyH" Type="int" Value="20">
         <![CDATA[const int c_keyH                     = 20;]]>
    </Variable>
    <Variable Name="c_keyI" Type="int" Value="21">
         <![CDATA[const int c_keyI                     = 21;]]>
    </Variable>
    <Variable Name="c_keyJ" Type="int" Value="22">
         <![CDATA[const int c_keyJ                     = 22;]]>
    </Variable>
    <Variable Name="c_keyK" Type="int" Value="23">
         <![CDATA[const int c_keyK                     = 23;]]>
    </Variable>
    <Variable Name="c_keyL" Type="int" Value="24">
         <![CDATA[const int c_keyL                     = 24;]]>
    </Variable>
    <Variable Name="c_keyM" Type="int" Value="25">
         <![CDATA[const int c_keyM                     = 25;]]>
    </Variable>
    <Variable Name="c_keyN" Type="int" Value="26">
         <![CDATA[const int c_keyN                     = 26;]]>
    </Variable>
    <Variable Name="c_keyO" Type="int" Value="27">
         <![CDATA[const int c_keyO                     = 27;]]>
    </Variable>
    <Variable Name="c_keyP" Type="int" Value="28">
         <![CDATA[const int c_keyP                     = 28;]]>
    </Variable>
    <Variable Name="c_keyQ" Type="int" Value="29">
         <![CDATA[const int c_keyQ                     = 29;]]>
    </Variable>
    <Variable Name="c_keyR" Type="int" Value="30">
         <![CDATA[const int c_keyR                     = 30;]]>
    </Variable>
    <Variable Name="c_keyS" Type="int" Value="31">
         <![CDATA[const int c_keyS                     = 31;]]>
    </Variable>
    <Variable Name="c_keyT" Type="int" Value="32">
         <![CDATA[const int c_keyT                     = 32;]]>
    </Variable>
    <Variable Name="c_keyU" Type="int" Value="33">
         <![CDATA[const int c_keyU                     = 33;]]>
    </Variable>
    <Variable Name="c_keyV" Type="int" Value="34">
         <![CDATA[const int c_keyV                     = 34;]]>
    </Variable>
    <Variable Name="c_keyW" Type="int" Value="35">
         <![CDATA[const int c_keyW                     = 35;]]>
    </Variable>
    <Variable Name="c_keyX" Type="int" Value="36">
         <![CDATA[const int c_keyX                     = 36;]]>
    </Variable>
    <Variable Name="c_keyY" Type="int" Value="37">
         <![CDATA[const int c_keyY                     = 37;]]>
    </Variable>
    <Variable Name="c_keyZ" Type="int" Value="38">
         <![CDATA[const int c_keyZ                     = 38;]]>
    </Variable>
    <Variable Name="c_keySpace" Type="int" Value="39">
         <![CDATA[const int c_keySpace                 = 39;]]>
    </Variable>
    <Variable Name="c_keyGrave" Type="int" Value="40">
         <![CDATA[const int c_keyGrave                 = 40;]]>
    </Variable>
    <Variable Name="c_keyNumPad0" Type="int" Value="41">
         <![CDATA[const int c_keyNumPad0               = 41;]]>
    </Variable>
    <Variable Name="c_keyNumPad1" Type="int" Value="42">
         <![CDATA[const int c_keyNumPad1               = 42;]]>
    </Variable>
    <Variable Name="c_keyNumPad2" Type="int" Value="43">
         <![CDATA[const int c_keyNumPad2               = 43;]]>
    </Variable>
    <Variable Name="c_keyNumPad3" Type="int" Value="44">
         <![CDATA[const int c_keyNumPad3               = 44;]]>
    </Variable>
    <Variable Name="c_keyNumPad4" Type="int" Value="45">
         <![CDATA[const int c_keyNumPad4               = 45;]]>
    </Variable>
    <Variable Name="c_keyNumPad5" Type="int" Value="46">
         <![CDATA[const int c_keyNumPad5               = 46;]]>
    </Variable>
    <Variable Name="c_keyNumPad6" Type="int" Value="47">
         <![CDATA[const int c_keyNumPad6               = 47;]]>
    </Variable>
    <Variable Name="c_keyNumPad7" Type="int" Value="48">
         <![CDATA[const int c_keyNumPad7               = 48;]]>
    </Variable>
    <Variable Name="c_keyNumPad8" Type="int" Value="49">
         <![CDATA[const int c_keyNumPad8               = 49;]]>
    </Variable>
    <Variable Name="c_keyNumPad9" Type="int" Value="50">
         <![CDATA[const int c_keyNumPad9               = 50;]]>
    </Variable>
    <Variable Name="c_keyNumPadPlus" Type="int" Value="51">
         <![CDATA[const int c_keyNumPadPlus            = 51;]]>
    </Variable>
    <Variable Name="c_keyNumPadMinus" Type="int" Value="52">
         <![CDATA[const int c_keyNumPadMinus           = 52;]]>
    </Variable>
    <Variable Name="c_keyNumPadMultiply" Type="int" Value="53">
         <![CDATA[const int c_keyNumPadMultiply        = 53;]]>
    </Variable>
    <Variable Name="c_keyNumPadDivide" Type="int" Value="54">
         <![CDATA[const int c_keyNumPadDivide          = 54;]]>
    </Variable>
    <Variable Name="c_keyNumPadDecimal" Type="int" Value="55">
         <![CDATA[const int c_keyNumPadDecimal         = 55;]]>
    </Variable>
    <Variable Name="c_keyEquals" Type="int" Value="56">
         <![CDATA[const int c_keyEquals                = 56;]]>
    </Variable>
    <Variable Name="c_keyMinus" Type="int" Value="57">
         <![CDATA[const int c_keyMinus                 = 57;]]>
    </Variable>
    <Variable Name="c_keyBracketOpen" Type="int" Value="58">
         <![CDATA[const int c_keyBracketOpen           = 58;]]>
    </Variable>
    <Variable Name="c_keyBracketClose" Type="int" Value="59">
         <![CDATA[const int c_keyBracketClose          = 59;]]>
    </Variable>
    <Variable Name="c_keyBackSlash" Type="int" Value="60">
         <![CDATA[const int c_keyBackSlash             = 60;]]>
    </Variable>
    <Variable Name="c_keySemiColon" Type="int" Value="61">
         <![CDATA[const int c_keySemiColon             = 61;]]>
    </Variable>
    <Variable Name="c_keyApostrophe" Type="int" Value="62">
         <![CDATA[const int c_keyApostrophe            = 62;]]>
    </Variable>
    <Variable Name="c_keyComma" Type="int" Value="63">
         <![CDATA[const int c_keyComma                 = 63;]]>
    </Variable>
    <Variable Name="c_keyPeriod" Type="int" Value="64">
         <![CDATA[const int c_keyPeriod                = 64;]]>
    </Variable>
    <Variable Name="c_keySlash" Type="int" Value="65">
         <![CDATA[const int c_keySlash                 = 65;]]>
    </Variable>
    <Variable Name="c_keyEscape" Type="int" Value="66">
         <![CDATA[const int c_keyEscape                = 66;]]>
    </Variable>
    <Variable Name="c_keyEnter" Type="int" Value="67">
         <![CDATA[const int c_keyEnter                 = 67;]]>
    </Variable>
    <Variable Name="c_keyBackSpace" Type="int" Value="68">
         <![CDATA[const int c_keyBackSpace             = 68;]]>
    </Variable>
    <Variable Name="c_keyTab" Type="int" Value="69">
         <![CDATA[const int c_keyTab                   = 69;]]>
    </Variable>
    <Variable Name="c_keyLeft" Type="int" Value="70">
         <![CDATA[const int c_keyLeft                  = 70;]]>
    </Variable>
    <Variable Name="c_keyUp" Type="int" Value="71">
         <![CDATA[const int c_keyUp                    = 71;]]>
    </Variable>
    <Variable Name="c_keyRight" Type="int" Value="72">
         <![CDATA[const int c_keyRight                 = 72;]]>
    </Variable>
    <Variable Name="c_keyDown" Type="int" Value="73">
         <![CDATA[const int c_keyDown                  = 73;]]>
    </Variable>
    <Variable Name="c_keyInsert" Type="int" Value="74">
         <![CDATA[const int c_keyInsert                = 74;]]>
    </Variable>
    <Variable Name="c_keyDelete" Type="int" Value="75">
         <![CDATA[const int c_keyDelete                = 75;]]>
    </Variable>
    <Variable Name="c_keyHome" Type="int" Value="76">
         <![CDATA[const int c_keyHome                  = 76;]]>
    </Variable>
    <Variable Name="c_keyEnd" Type="int" Value="77">
         <![CDATA[const int c_keyEnd                   = 77;]]>
    </Variable>
    <Variable Name="c_keyPageUp" Type="int" Value="78">
         <![CDATA[const int c_keyPageUp                = 78;]]>
    </Variable>
    <Variable Name="c_keyPageDown" Type="int" Value="79">
         <![CDATA[const int c_keyPageDown              = 79;]]>
    </Variable>
    <Variable Name="c_keyCapsLock" Type="int" Value="80">
         <![CDATA[const int c_keyCapsLock              = 80;]]>
    </Variable>
    <Variable Name="c_keyNumLock" Type="int" Value="81">
         <![CDATA[const int c_keyNumLock               = 81;]]>
    </Variable>
    <Variable Name="c_keyScrollLock" Type="int" Value="82">
         <![CDATA[const int c_keyScrollLock            = 82;]]>
    </Variable>
    <Variable Name="c_keyPause" Type="int" Value="83">
         <![CDATA[const int c_keyPause                 = 83;]]>
    </Variable>
    <Variable Name="c_keyPrintScreen" Type="int" Value="84">
         <![CDATA[const int c_keyPrintScreen           = 84;]]>
    </Variable>
    <Variable Name="c_keyNextTrack" Type="int" Value="85">
         <![CDATA[const int c_keyNextTrack             = 85;]]>
    </Variable>
    <Variable Name="c_keyPrevTrack" Type="int" Value="86">
         <![CDATA[const int c_keyPrevTrack             = 86;]]>
    </Variable>
    <Variable Name="c_keyF1" Type="int" Value="87">
         <![CDATA[const int c_keyF1                    = 87;]]>
    </Variable>
    <Variable Name="c_keyF2" Type="int" Value="88">
         <![CDATA[const int c_keyF2                    = 88;]]>
    </Variable>
    <Variable Name="c_keyF3" Type="int" Value="89">
         <![CDATA[const int c_keyF3                    = 89;]]>
    </Variable>
    <Variable Name="c_keyF4" Type="int" Value="90">
         <![CDATA[const int c_keyF4                    = 90;]]>
    </Variable>
    <Variable Name="c_keyF5" Type="int" Value="91">
         <![CDATA[const int c_keyF5                    = 91;]]>
    </Variable>
    <Variable Name="c_keyF6" Type="int" Value="92">
         <![CDATA[const int c_keyF6                    = 92;]]>
    </Variable>
    <Variable Name="c_keyF7" Type="int" Value="93">
         <![CDATA[const int c_keyF7                    = 93;]]>
    </Variable>
    <Variable Name="c_keyF8" Type="int" Value="94">
         <![CDATA[const int c_keyF8                    = 94;]]>
    </Variable>
    <Variable Name="c_keyF9" Type="int" Value="95">
         <![CDATA[const int c_keyF9                    = 95;]]>
    </Variable>
    <Variable Name="c_keyF10" Type="int" Value="96">
         <![CDATA[const int c_keyF10                   = 96;]]>
    </Variable>
    <Variable Name="c_keyF11" Type="int" Value="97">
         <![CDATA[const int c_keyF11                   = 97;]]>
    </Variable>
    <Variable Name="c_keyF12" Type="int" Value="98">
         <![CDATA[const int c_keyF12                   = 98;]]>
    </Variable>
    <Variable Name="c_keyModifierStateIgnore" Type="int" Value="0">
         <![CDATA[const int c_keyModifierStateIgnore  = 0;]]>
    </Variable>
    <Variable Name="c_keyModifierStateRequire" Type="int" Value="1">
         <![CDATA[const int c_keyModifierStateRequire = 1;]]>
    </Variable>
    <Variable Name="c_keyModifierStateExclude" Type="int" Value="2">
         <![CDATA[const int c_keyModifierStateExclude = 2;]]>
    </Variable>
    <Variable Name="c_customDialogTypeMessage" Type="int" Value="0">
         <![CDATA[const int c_customDialogTypeMessage = 0;]]>
    </Variable>
    <Variable Name="c_customDialogTypeQuery" Type="int" Value="1">
         <![CDATA[const int c_customDialogTypeQuery	= 1;]]>
    </Variable>
    <Variable Name="c_customDialogResultAny" Type="int" Value="0">
         <![CDATA[const int c_customDialogResultAny = 0;]]>
    </Variable>
    <Variable Name="c_customDialogResultYes" Type="int" Value="1">
         <![CDATA[const int c_customDialogResultYes = 1;]]>
    </Variable>
    <Variable Name="c_customDialogResultNo" Type="int" Value="2">
         <![CDATA[const int c_customDialogResultNo  = 2;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeMenuBar" Type="int" Value="0">
         <![CDATA[const int c_syncFrameTypeMenuBar              = 0;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeCashPanel" Type="int" Value="1">
         <![CDATA[const int c_syncFrameTypeCashPanel            = 1;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeTipAlertPanel" Type="int" Value="2">
         <![CDATA[const int c_syncFrameTypeTipAlertPanel        = 2;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeObjectivePanel" Type="int" Value="3">
         <![CDATA[const int c_syncFrameTypeObjectivePanel       = 3;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeCharacterSheetButton" Type="int" Value="4">
         <![CDATA[const int c_syncFrameTypeCharacterSheetButton = 4;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeSupply" Type="int" Value="5">
         <![CDATA[const int c_syncFrameTypeSupply               = 5;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeResourcePanel" Type="int" Value="6">
         <![CDATA[const int c_syncFrameTypeResourcePanel        = 6;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeRoomPanel" Type="int" Value="7">
         <![CDATA[const int c_syncFrameTypeRoomPanel            = 7;]]>
    </Variable>
    <Variable Name="c_syncFrameTypePlanetPanel" Type="int" Value="8">
         <![CDATA[const int c_syncFrameTypePlanetPanel          = 8;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeMercenaryPanel" Type="int" Value="9">
         <![CDATA[const int c_syncFrameTypeMercenaryPanel       = 9;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeResearchPanel" Type="int" Value="10">
         <![CDATA[const int c_syncFrameTypeResearchPanel        = 10;]]>
    </Variable>
    <Variable Name="c_syncFrameTypePurchasePanel" Type="int" Value="11">
         <![CDATA[const int c_syncFrameTypePurchasePanel        = 11;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeVictoryPanel" Type="int" Value="12">
         <![CDATA[const int c_syncFrameTypeVictoryPanel         = 12;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeBattleReportPanel" Type="int" Value="13">
         <![CDATA[const int c_syncFrameTypeBattleReportPanel    = 13;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeAlertPanel" Type="int" Value="14">
         <![CDATA[const int c_syncFrameTypeAlertPanel           = 14;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeHeroPanel" Type="int" Value="15">
         <![CDATA[const int c_syncFrameTypeHeroPanel            = 15;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeErrorDisplayPanel" Type="int" Value="16">
         <![CDATA[const int c_syncFrameTypeErrorDisplayPanel    = 16;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeCreditsPanel" Type="int" Value="17">
         <![CDATA[const int c_syncFrameTypeCreditsPanel		  = 17;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeTechTreePanel" Type="int" Value="18">
         <![CDATA[const int c_syncFrameTypeTechTreePanel        = 18;]]>
    </Variable>
    <Variable Name="c_syncFrameTypeTechGlossaryPanel" Type="int" Value="19">
         <![CDATA[const int c_syncFrameTypeTechGlossaryPanel    = 19;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogItemAny" Type="int" Value="-1">
         <![CDATA[const int c_gameMenuDialogItemAny                     = -1;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogAbortButton" Type="int" Value="0">
         <![CDATA[const int c_gameMenuDialogAbortButton                 = 0;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton1" Type="int" Value="1">
         <![CDATA[const int c_gameMenuDialogGenericButton1              = 1;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton2" Type="int" Value="2">
         <![CDATA[const int c_gameMenuDialogGenericButton2              = 2;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton3" Type="int" Value="3">
         <![CDATA[const int c_gameMenuDialogGenericButton3              = 3;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton4" Type="int" Value="4">
         <![CDATA[const int c_gameMenuDialogGenericButton4              = 4;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton5" Type="int" Value="5">
         <![CDATA[const int c_gameMenuDialogGenericButton5              = 5;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton6" Type="int" Value="6">
         <![CDATA[const int c_gameMenuDialogGenericButton6              = 6;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton7" Type="int" Value="7">
         <![CDATA[const int c_gameMenuDialogGenericButton7              = 7;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton8" Type="int" Value="8">
         <![CDATA[const int c_gameMenuDialogGenericButton8              = 8;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton9" Type="int" Value="9">
         <![CDATA[const int c_gameMenuDialogGenericButton9              = 9;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogGenericButton10" Type="int" Value="10">
         <![CDATA[const int c_gameMenuDialogGenericButton10             = 10;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogOptionsButton" Type="int" Value="11">
         <![CDATA[const int c_gameMenuDialogOptionsButton               = 11;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogLoadButton" Type="int" Value="12">
         <![CDATA[const int c_gameMenuDialogLoadButton                  = 12;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogSaveButton" Type="int" Value="13">
         <![CDATA[const int c_gameMenuDialogSaveButton                  = 13;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogPauseButton" Type="int" Value="14">
         <![CDATA[const int c_gameMenuDialogPauseButton                 = 14;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogRestartButton" Type="int" Value="15">
         <![CDATA[const int c_gameMenuDialogRestartButton               = 15;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogReturnToGameplayButton" Type="int" Value="16">
         <![CDATA[const int c_gameMenuDialogReturnToGameplayButton      = 16;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogRestartDifficultyPulldown" Type="int" Value="17">
         <![CDATA[const int c_gameMenuDialogRestartDifficultyPulldown   = 17;]]>
    </Variable>
    <Variable Name="c_gameMenuDialogQuitButton" Type="int" Value="18">
         <![CDATA[const int c_gameMenuDialogQuitButton                  = 18;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowButtons" Type="int" Value="0">
         <![CDATA[const int c_uiCommandAllowButtons       = 0;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowHotkeys" Type="int" Value="1">
         <![CDATA[const int c_uiCommandAllowHotkeys       = 1;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowSmartClick" Type="int" Value="2">
         <![CDATA[const int c_uiCommandAllowSmartClick    = 2;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowModifiers" Type="int" Value="3">
         <![CDATA[const int c_uiCommandAllowModifiers     = 3;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowInfoPanel" Type="int" Value="4">
         <![CDATA[const int c_uiCommandAllowInfoPanel     = 4;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowMinimap" Type="int" Value="5">
         <![CDATA[const int c_uiCommandAllowMinimap       = 5;]]>
    </Variable>
    <Variable Name="c_uiCommandAllowPings" Type="int" Value="6">
         <![CDATA[const int c_uiCommandAllowPings         = 6;]]>
    </Variable>
    <Native Name="UISetMode" ReturnType="void" ArgumentList="playergroup players, int mode, fixed duration">
         <![CDATA[native void         UISetMode (playergroup players, int mode, fixed duration);]]>
    </Native>
    <Native Name="UISetWorldVisible" ReturnType="void" ArgumentList="playergroup players, bool isVisible">
         <![CDATA[native void         UISetWorldVisible (playergroup players, bool isVisible);]]>
    </Native>
    <Native Name="UISetCursorVisible" ReturnType="void" ArgumentList="playergroup players, bool isCursorVisible">
         <![CDATA[native void         UISetCursorVisible (playergroup players, bool isCursorVisible);]]>
    </Native>
    <Native Name="UISetCursorAutoHide" ReturnType="void" ArgumentList="playergroup players, bool autoHide, fixed delay">
         <![CDATA[native void         UISetCursorAutoHide (playergroup players, bool autoHide, fixed delay);]]>
    </Native>
    <Native Name="UIDisplayMessage" ReturnType="void" ArgumentList="playergroup players, int messageArea, text messageText">
         <![CDATA[native void         UIDisplayMessage (playergroup players, int messageArea, text messageText);]]>
    </Native>
    <Native Name="UIClearMessages" ReturnType="void" ArgumentList="playergroup players, int messageArea">
         <![CDATA[native void         UIClearMessages (playergroup players, int messageArea);]]>
    </Native>
    <Native Name="UIShowCinematicText" ReturnType="void" ArgumentList="playergroup inPlayers, text inMessageText, fixed inTimeBetweenCharacters, fixed inMaxTime, soundlink inSoundLink">
         <![CDATA[native void         UIShowCinematicText (playergroup inPlayers, text inMessageText, fixed inTimeBetweenCharacters, fixed inMaxTime, soundlink inSoundLink);]]>
    </Native>
    <Native Name="UIHideCinematicText" ReturnType="void" ArgumentList="playergroup inPlayers">
         <![CDATA[native void         UIHideCinematicText (playergroup inPlayers);]]>
    </Native>
    <Native Name="UIShowTextCrawl" ReturnType="void" ArgumentList="playergroup inPlayers, text inTitle, text inText, fixed inMaxTime, soundlink inBirthSoundLink, soundlink inTypeSoundLink">
         <![CDATA[native void         UIShowTextCrawl (playergroup inPlayers, text inTitle, text inText, fixed inMaxTime, soundlink inBirthSoundLink, soundlink inTypeSoundLink);]]>
    </Native>
    <Native Name="UIHideTextCrawl" ReturnType="void" ArgumentList="playergroup inPlayers">
         <![CDATA[native void         UIHideTextCrawl (playergroup inPlayers);]]>
    </Native>
    <Native Name="UIUnitColorStyleOverride" ReturnType="void" ArgumentList="playergroup inPlayers, int style">
         <![CDATA[native void         UIUnitColorStyleOverride (playergroup inPlayers, int style);]]>
    </Native>
    <Native Name="UIUnitColorStyleClearOverride" ReturnType="void" ArgumentList="playergroup inPlayers">
         <![CDATA[native void         UIUnitColorStyleClearOverride (playergroup inPlayers);]]>
    </Native>
    <Native Name="UISetNextLoadingScreen" ReturnType="void" ArgumentList="string imagePath, text title, text subtitle, text body, text help, bool waitForInput">
         <![CDATA[native void         UISetNextLoadingScreen (string imagePath, text title, text subtitle, text body, text  help, bool waitForInput);]]>
    </Native>
    <Native Name="UISetNextLoadingScreenImageScale" ReturnType="void" ArgumentList="int imageScale">
         <![CDATA[native void         UISetNextLoadingScreenImageScale (int imageScale);]]>
    </Native>
    <Native Name="UISetNextLoadingScreenTextPosition" ReturnType="void" ArgumentList="int anchor, int offsetX, int offsetY, int width, int height">
         <![CDATA[native void         UISetNextLoadingScreenTextPosition (int anchor, int offsetX, int offsetY, int width, int height);]]>
    </Native>
    <Native Name="UISetRestartLoadingScreen" ReturnType="void" ArgumentList="text help">
         <![CDATA[native void         UISetRestartLoadingScreen (text  help);]]>
    </Native>
    <Native Name="UIAlert" ReturnType="void" ArgumentList="string alert, int player, text message, string icon">
         <![CDATA[native void         UIAlert (string alert, int player, text message, string icon);]]>
    </Native>
    <Native Name="UIAlertPoint" ReturnType="void" ArgumentList="string alert, int player, text message, string icon, point p">
         <![CDATA[native void         UIAlertPoint (string alert, int player, text message, string icon, point p);]]>
    </Native>
    <Native Name="UIAlertUnit" ReturnType="void" ArgumentList="string alert, int player, text message, string icon, unit u">
         <![CDATA[native void         UIAlertUnit (string alert, int player, text message, string icon, unit u);]]>
    </Native>
    <Native Name="UIAlertClear" ReturnType="void" ArgumentList="int player">
         <![CDATA[native void         UIAlertClear (int player);]]>
    </Native>
    <Native Name="UISetFrameVisible" ReturnType="void" ArgumentList="playergroup inPlayers, int inFrameType, bool inVisible">
         <![CDATA[native void			UISetFrameVisible (playergroup inPlayers, int inFrameType, bool inVisible);]]>
    </Native>
    <Native Name="UIFrameVisible" ReturnType="bool" ArgumentList="int inPlayer, int inFrameType">
         <![CDATA[native bool			UIFrameVisible (int inPlayer, int inFrameType);]]>
    </Native>
    <Native Name="UISetGameMenuItemVisible" ReturnType="void" ArgumentList="playergroup inPlayers, int inMenuItemType, bool inVisible">
         <![CDATA[native void			UISetGameMenuItemVisible (playergroup inPlayers, int inMenuItemType, bool inVisible);]]>
    </Native>
    <Native Name="UIGameMenuItemVisible" ReturnType="bool" ArgumentList="int inPlayer, int inMenuItemType">
         <![CDATA[native bool			UIGameMenuItemVisible (int inPlayer, int inMenuItemType);]]>
    </Native>
    <Native Name="UISetGameMenuItemText" ReturnType="void" ArgumentList="playergroup inPlayers, int inMenuItemType, text inText">
         <![CDATA[native void			UISetGameMenuItemText (playergroup inPlayers, int inMenuItemType, text inText);]]>
    </Native>
    <Native Name="UIClearCustomMenuItemList" ReturnType="void" ArgumentList="playergroup inPlayers">
         <![CDATA[native void         UIClearCustomMenuItemList (playergroup inPlayers);]]>
    </Native>
    <Native Name="UISetCustomMenuItemVisible" ReturnType="void" ArgumentList="playergroup inPlayers, int inMenuItemType, bool inVisible">
         <![CDATA[native void			UISetCustomMenuItemVisible (playergroup inPlayers, int inMenuItemType, bool inVisible);]]>
    </Native>
    <Native Name="UICustomMenuItemVisible" ReturnType="bool" ArgumentList="int inPlayer, int inMenuItemType">
         <![CDATA[native bool			UICustomMenuItemVisible (int inPlayer, int inMenuItemType);]]>
    </Native>
    <Native Name="UISetCustomMenuItemText" ReturnType="void" ArgumentList="playergroup inPlayers, int inMenuItemType, text inText">
         <![CDATA[native void			UISetCustomMenuItemText (playergroup inPlayers, int inMenuItemType, text inText);]]>
    </Native>
    <Native Name="UIShowCustomMenu" ReturnType="void" ArgumentList="playergroup inPlayers, text inTitleText">
         <![CDATA[native void			UIShowCustomMenu (playergroup inPlayers, text inTitleText);]]>
    </Native>
    <Native Name="UIShowCustomDialog" ReturnType="void" ArgumentList="playergroup inPlayers, int inType, text inTitle, text inText, bool pause">
         <![CDATA[native void			UIShowCustomDialog (playergroup inPlayers, int inType, text inTitle, text inText, bool pause);]]>
    </Native>
    <Native Name="UISetResourceTradeCountdownTime" ReturnType="void" ArgumentList="int time">
         <![CDATA[native void         UISetResourceTradeCountdownTime (int time);]]>
    </Native>
    <Native Name="UISetButtonHighlighted" ReturnType="void" ArgumentList="playergroup inPlayers, abilcmd inAbilCmd, bool inHighlight">
         <![CDATA[native void         UISetButtonHighlighted (playergroup inPlayers, abilcmd inAbilCmd, bool inHighlight);]]>
    </Native>
    <Native Name="UISetMiniMapBackGroundColor" ReturnType="void" ArgumentList="color inColor">
         <![CDATA[native void         UISetMiniMapBackGroundColor (color inColor);]]>
    </Native>
    <Native Name="UISetCommandAllowed" ReturnType="void" ArgumentList="playergroup players, int option, bool allow">
         <![CDATA[native void         UISetCommandAllowed (playergroup players, int option, bool allow);]]>
    </Native>
    <Native Name="UISetCommandDisallowedMessage" ReturnType="void" ArgumentList="playergroup players, text message">
         <![CDATA[native void         UISetCommandDisallowedMessage (playergroup players, text message);]]>
    </Native>
    <Native Name="TriggerAddEventAbortMission" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventAbortMission (trigger t, int player);]]>
    </Native>
    <Native Name="TriggerAddEventCustomDialogDismissed" ReturnType="void" ArgumentList="trigger t, int player, int result">
         <![CDATA[native void         TriggerAddEventCustomDialogDismissed (trigger t, int player, int result);]]>
    </Native>
    <Native Name="TriggerAddEventGameMenuItemSelected" ReturnType="void" ArgumentList="trigger t, int player, int gameMenuIndex">
         <![CDATA[native void         TriggerAddEventGameMenuItemSelected (trigger t, int player, int gameMenuIndex);]]>
    </Native>
    <Native Name="TriggerAddEventMouseClicked" ReturnType="void" ArgumentList="trigger t, int player, int mouseButton, bool down">
         <![CDATA[native void         TriggerAddEventMouseClicked (trigger t, int player, int mouseButton, bool down);]]>
    </Native>
    <Native Name="TriggerAddEventKeyPressed" ReturnType="void" ArgumentList="trigger t, int player, int key, bool down, int s, int c, int a">
         <![CDATA[native void         TriggerAddEventKeyPressed (trigger t, int player, int key, bool down, int s, int c, int a);]]>
    </Native>
    <Native Name="TriggerAddEventButtonPressed" ReturnType="void" ArgumentList="trigger t, int player, string button">
         <![CDATA[native void         TriggerAddEventButtonPressed (trigger t, int player, string button);]]>
    </Native>
    <Native Name="TriggerAddEventGameCreditsFinished" ReturnType="void" ArgumentList="trigger t, int player">
         <![CDATA[native void         TriggerAddEventGameCreditsFinished (trigger t, int player);]]>
    </Native>
    <Native Name="EventCustomDialogResult" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventCustomDialogResult ();]]>
    </Native>
    <Native Name="EventGameMenuItemSelected" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventGameMenuItemSelected ();]]>
    </Native>
    <Native Name="EventMouseClickedButton" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventMouseClickedButton ();]]>
    </Native>
    <Native Name="EventMouseClickedPosXUI" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventMouseClickedPosXUI ();]]>
    </Native>
    <Native Name="EventMouseClickedPosYUI" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventMouseClickedPosYUI ();]]>
    </Native>
    <Native Name="EventMouseClickedPosXWorld" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed        EventMouseClickedPosXWorld ();]]>
    </Native>
    <Native Name="EventMouseClickedPosYWorld" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed        EventMouseClickedPosYWorld ();]]>
    </Native>
    <Native Name="EventMouseClickedPosZWorld" ReturnType="fixed" ArgumentList="">
         <![CDATA[native fixed        EventMouseClickedPosZWorld ();]]>
    </Native>
    <Native Name="EventKeyPressed" ReturnType="int" ArgumentList="">
         <![CDATA[native int          EventKeyPressed ();]]>
    </Native>
    <Native Name="EventKeyShift" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool         EventKeyShift ();]]>
    </Native>
    <Native Name="EventKeyControl" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool         EventKeyControl ();]]>
    </Native>
    <Native Name="EventKeyAlt" ReturnType="bool" ArgumentList="">
         <![CDATA[native bool         EventKeyAlt ();]]>
    </Native>
    <Native Name="EventButtonPressed" ReturnType="string" ArgumentList="">
         <![CDATA[native string       EventButtonPressed ();]]>
    </Native>
    <Variable Name="c_visTypeMask" Type="int" Value="0">
         <![CDATA[const int c_visTypeMask     = 0;]]>
    </Variable>
    <Variable Name="c_visTypeFog" Type="int" Value="1">
         <![CDATA[const int c_visTypeFog      = 1;]]>
    </Variable>
    <Native Name="VisEnable" ReturnType="void" ArgumentList="int visType, bool enable">
         <![CDATA[native void     VisEnable (int visType, bool enable);]]>
    </Native>
    <Native Name="VisIsEnabled" ReturnType="bool" ArgumentList="int visType">
         <![CDATA[native bool     VisIsEnabled (int visType);]]>
    </Native>
    <Native Name="VisExploreArea" ReturnType="void" ArgumentList="int player, region area, bool explored, bool checkCliffLevel">
         <![CDATA[native void     VisExploreArea (int player, region area, bool explored, bool checkCliffLevel);]]>
    </Native>
    <Native Name="VisRevealArea" ReturnType="void" ArgumentList="int player, region area, fixed duration, bool checkCliffLevel">
         <![CDATA[native void     VisRevealArea (int player, region area, fixed duration, bool checkCliffLevel);]]>
    </Native>
    <Native Name="VisRevealerCreate" ReturnType="revealer" ArgumentList="int player, region area">
         <![CDATA[native revealer VisRevealerCreate (int player, region area);]]>
    </Native>
    <Native Name="VisRevealerLastCreated" ReturnType="revealer" ArgumentList="">
         <![CDATA[native revealer VisRevealerLastCreated ();]]>
    </Native>
    <Native Name="VisRevealerDestroy" ReturnType="void" ArgumentList="revealer r">
         <![CDATA[native void     VisRevealerDestroy (revealer r);]]>
    </Native>
    <Native Name="VisRevealerEnable" ReturnType="void" ArgumentList="revealer r, bool enable">
         <![CDATA[native void     VisRevealerEnable (revealer r, bool enable);]]>
    </Native>
    <Native Name="VisRevealerUpdate" ReturnType="void" ArgumentList="revealer r">
         <![CDATA[native void     VisRevealerUpdate (revealer r);]]>
    </Native>
</Galaxy>